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