Sign in
llvm
/
llvm-test-suite
/
195afe069d3e2ba1a1bd352d6f44ddf318201371
/
.
/
SingleSource
/
Regression
/
C
/
gcc-c-torture
/
execute
/
20120817-1.c
blob: 8fb2820e89664330954c9178aeac559cabe1ba2d [
file
] [
log
] [
blame
]
typedef
unsigned
long
long
u64
;
unsigned
long
foo
=
0
;
u64 f
()
__attribute__
((
noinline
));
u64 f
()
{
return
((
u64
)
40
)
+
((
u64
)
24
)
*
(
int
)(
foo
-
1
);
}
int
main
()
{
if
(
f
()
!=
16
)
abort
();
exit
(
0
);
}