blob: 1c309506d10816e162a9ad2501a172c811d5fd9b [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-std=c99 -Wpedantic" } */
enum e { A };
struct { enum e b: 2; } s1;
struct { signed char b: 2; } s2;
struct { unsigned char b: 2; } s3;
struct { short b: 2; } s4;
struct { unsigned short b: 2; } s5;
struct { long int b: 2; } s6;
struct { unsigned long int b: 2; } s7;
struct { long long int b: 2; } s8;
struct { unsigned long long int b: 2; } s9;