Sign in
llvm
/
llvm-test-suite
/
195afe069d3e2ba1a1bd352d6f44ddf318201371
/
.
/
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
);
}