3 /* { dg-options "-pedantic -O" } */
12 B2
= B1
- 1 /* { dg-bogus "ISO C restricts enumerator values to range of 'int'" } */
31 enum E1
{ e10
= INT_MAX
, e11
}; /* { dg-error "overflow in enumeration values" } */
32 enum E2
{ e20
= (unsigned) INT_MAX
, e21
}; /* { dg-error "overflow in enumeration values" } */