2 /* { dg-options "-std=gnu89" } */
4 /* In standard C, enumeration constants always have type int. If they
5 are not representables are int, they're ill-formed. In GNU C, we
6 give such ill-formed constructs well-defined meaning. Make sure it
14 foo2
= 0xffffffffffffffffULL
,
15 foo3
= 0xf0fffffffffffffeULL
20 if (sizeof (enum foo
) != sizeof (unsigned long long))