Sign in
fuchsia
/
third_party
/
github.com
/
llvm
/
llvm-test-suite
/
f8cce5587c37960f53d26daff9cf39ef18330059
/
.
/
SingleSource
/
Regression
/
C
/
gcc-c-torture
/
execute
/
931102-1.c
blob: 5e0b2a2e774c5e72dd73eb1c60ef42b82bc5d6a1 [
file
] [
log
] [
blame
]
typedef
union
{
struct
{
char
h
,
l
;
}
b
;
}
T
;
f
(
x
)
int
x
;
{
int
num
=
0
;
T reg
;
reg
.
b
.
l
=
x
;
while
((
reg
.
b
.
l
&
1
)
==
0
)
{
num
++;
reg
.
b
.
l
>>=
1
;
}
return
num
;
}
main
()
{
if
(
f
(
2
)
!=
1
)
abort
();
exit
(
0
);
}