Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
();
}