Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/abi/empty22.h @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 84e7813d76e9 |
children |
rev | line source |
---|---|
131 | 1 #ifdef __cplusplus |
2 struct A1 | |
3 { | |
4 void foo (void); | |
5 unsigned int : 0; | |
6 }; | |
7 struct A2 | |
8 { | |
9 void bar (void); | |
10 unsigned int : 0; | |
11 }; | |
12 struct dummy : A1, A2 | |
13 { | |
14 unsigned int : 0; | |
15 }; | |
16 #else | |
17 struct dummy {}; | |
18 #endif | |
19 | |
20 struct foo | |
21 { | |
22 int i1; | |
23 int i2; | |
24 int i3; | |
25 int i4; | |
26 int i5; | |
27 }; |