2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / abi / enum1.C
blob32e52fe0f5e4affa064c54ac225aad79320a918c
1 // { dg-do run }
3 #include <cstdlib>
5 enum foo
7   foo1   = 0,
8   foo2   = 0xffffffffffffffffULL,
9   foo3   = 0xf0fffffffffffffeULL
12 int main ()
14   if (sizeof (enum foo) != sizeof (unsigned long long))
15     std::abort ();