Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/abi/empty26.h @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
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 }; |