Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
gcc
/
testsuite
/
g++.dg
/
abi
/
enum1.C
blob: 32e52fe0f5e4affa064c54ac225aad79320a918c [
file
] [
log
] [
blame
]
// { dg-do run }
#include
<cstdlib>
enum
foo
{
foo1
=
0
,
foo2
=
0xffffffffffffffffULL
,
foo3
=
0xf0fffffffffffffeULL
};
int
main
()
{
if
(
sizeof
(
enum
foo
)
!=
sizeof
(
unsigned
long
long
))
std
::
abort
();
}