1 /* Be sure we do not optimize the virtual call into call of the only non-virtual
2 variant. Either keeping virtual call or optimizing to cxa_pure_virtual
4 /* { dg-do compile } */
5 /* { dg-options "-O2 -fsanitize=unreachable -fdump-tree-optimized" } */
9 B() : self( this ) { self->f(); }
22 __attribute__ ((used))
32 /* { dg-final { scan-tree-dump "cxa_pure_virtual" "optimized" } } */