Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr40404.c
blob: b2e0ea2755c5525846bc407483825bbc176d47d1 [
file
] [
log
] [
blame
]
extern
void
abort
(
void
);
#if (__SIZEOF_INT__ <= 2)
struct
S
{
unsigned
long
ui17
:
17
;
}
s
;
#else
struct
S
{
unsigned
int
ui17
:
17
;
}
s
;
#endif
int
main
()
{
s
.
ui17
=
0x1ffff
;
if
(
s
.
ui17
>=
0xfffffffeu
)
abort
();
return
0
;
}