Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr48973-1.c
blob: 02688a0ea5f38ccff7a4f0fabb23ce928611635e [
file
] [
log
] [
blame
]
/* PR middle-end/48973 */
extern
void
abort
(
void
);
struct
S
{
int
f
:
1
;
}
s
;
int
v
=
-
1
;
void
foo
(
unsigned
int
x
)
{
if
(
x
!=
-
1U
)
abort
();
}
int
main
()
{
s
.
f
=
(
v
&
1
)
>
0
;
foo
(
s
.
f
);
return
0
;
}