Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
int128-3.C
blob: f62b62d1067ca8472b670bd5258ea3b828003014 [
file
] [
log
] [
blame
]
// Test for int128 enums.
// { dg-do compile { target int128 } }
// { dg-options "" }
enum
E
{
e1
=
0xffffffffffffffff
,
e2
,
e3
}
e
=
e3
;
#define
SA
(
I
,
X
)
int
a
##I[(X)? 1 : -1]
SA
(
1
,
sizeof
(
E
)
==
sizeof
(
__int128
));