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