Sign in
llvm
/
llvm-archive
/
261104aacb9ea48cf3a0dc7bfb461760b894944b
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
gcc.dg
/
fold-abs-1.c
blob: 2e69a207577ebe99d0d936c9c0da95c1753b7713 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O1 -fwrapv" } */
#define
ABS
(
x
)
(
x
>
0
?
x
:
-
x
)
int
f
(
int
a
,
int
b
)
{
if
((
ABS
(
a
)
|
b
)
!=
0
)
return
1
;
else
return
0
;
}