1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// { dg-do assemble } // { dg-options "-O2 -Wall" } // GROUPS passed warnings class A { int i; public: void funcA(void) { funcB(); } // The compiler should not emit a warning about not being // able to inline this function. void funcB(void) { i++; } };