Sign in
llvm
/
llvm-test-suite
/
8e6f3ef1b8f30cca66fd1a4e35d16bdfd0c622ba
/
.
/
SingleSource
/
Regression
/
C
/
gcc-c-torture
/
execute
/
20020225-2.c
blob: 3c88e94ed1e5a4344c5a18c16a0bb9874f62d7d9 [
file
] [
log
] [
blame
]
static
int
test
(
int
x
)
{
union
{
int
i
;
double
d
;
}
a
;
a
.
d
=
0
;
a
.
i
=
1
;
return
x
>>
a
.
i
;
}
int
main
(
void
)
{
if
(
test
(
5
)
!=
2
)
abort
();
exit
(
0
);
}