Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/ext/gnu-inline-class.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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" } } */ | |
8 | |
9 #define IN_CLASS gnu_test | |
10 | |
11 struct IN_CLASS { | |
12 int func1(void); | |
13 int func2(void); | |
14 int func3(void); | |
15 int func4(void); | |
16 int func5(void); | |
17 }; | |
18 | |
19 #include "gnu-inline-global.C" |