2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / ext / gnu-inline-class.C
blob71a0b1e36c115a5d63643c342be32c5c0b0e7b22
1 /* { dg-do compile } */
2 /* { dg-options "-O" } */ // such that static functions are optimized out
3 /* { dg-final { scan-assembler "func1" } } */
4 /* { dg-final { scan-assembler "func2" } } */
5 /* { dg-final { scan-assembler-not "func3" } } */
6 /* { dg-final { scan-assembler "func4" } } */
7 /* { dg-final { scan-assembler "func5" } } */
9 #define IN_CLASS gnu_test
11 struct IN_CLASS {
12   int func1(void);
13   int func2(void);
14   int func3(void);
15   int func4(void);
16   int func5(void);
19 #include "gnu-inline-global.C"