Sign in
llvm
/
llvm-test-suite
/
195afe069d3e2ba1a1bd352d6f44ddf318201371
/
.
/
SingleSource
/
Regression
/
C
/
gcc-c-torture
/
execute
/
ifcvt-onecmpl-abs-1.c
blob: 679e552f8482db43f0401c04249da619fb00cf5d [
file
] [
log
] [
blame
]
extern
void
abort
(
void
);
__attribute__
((
noinline
))
int
foo
(
int
n
)
{
if
(
n
<
0
)
n
=
~
n
;
return
n
;
}
int
main
(
void
)
{
if
(
foo
(-
1
)
!=
0
)
abort
();
return
0
;
}