| 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 |
}; |