1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized -fno-devirtualize-speculatively" } */
6 virtual inline void foo ()
17 /* We should inline foo and devirtualize call to foo in the inlined version. */
18 // { dg-final { scan-tree-dump-times "OBJ_TYPE_REF" 1 "optimized" } }