Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.brendan/warnings3.C

raw
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 }
10
11 // The compiler should not emit a warning about not being
12 // able to inline this function.
13 void funcB(void) {
14 i++;
15 }
16 };