2014-08-04 Ed Schonberg <schonberg@adacore.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr57773.c
blob1c309506d10816e162a9ad2501a172c811d5fd9b
1 /* { dg-do compile } */
2 /* { dg-options "-std=c99 -Wpedantic" } */
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;