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