2 // { dg-options "-O3 -fdump-ipa-devirt" }
4 // We shouldn't speculatively devirtualize to ~B because B is an abstract
5 // class; any actual object passed to f will be of some derived class which
6 // has its own destructor.
24 // { dg-final { scan-ipa-dump-not "Speculatively devirtualizing" "devirt" } }