Sign in
llvm
/
llvm-test-suite
/
8e6f3ef1b8f30cca66fd1a4e35d16bdfd0c622ba
/
.
/
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
;
}