]>
Commit | Line | Data |
---|---|---|
96066ce1 MP |
1 | /* { dg-do compile } */ |
2 | /* { dg-options "-std=c99 -Wpedantic" } */ | |
3 | ||
4 | enum e { A }; | |
5 | struct { enum e b: 2; } s1; | |
6 | struct { signed char b: 2; } s2; | |
7 | struct { unsigned char b: 2; } s3; | |
8 | struct { short b: 2; } s4; | |
9 | struct { unsigned short b: 2; } s5; | |
10 | struct { long int b: 2; } s6; | |
11 | struct { unsigned long int b: 2; } s7; | |
12 | struct { long long int b: 2; } s8; | |
13 | struct { unsigned long long int b: 2; } s9; |