2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / warnings3.C
blob07381b9ed689cf63ce7fae5d81a4251992ff725b
1 // { dg-do assemble  }
2 // { dg-options "-O2 -Wall" }
3 // GROUPS passed warnings
4 class A {
5 int i;
6 public:
7         void funcA(void) { 
8                 funcB(); 
9         }
11         // The compiler should not emit a warning about not being
12         // able to inline this function.
13         void funcB(void) { 
14                 i++; 
15         }