Sign in
llvm
/
llvm-test-suite
/
8e6f3ef1b8f30cca66fd1a4e35d16bdfd0c622ba
/
.
/
SingleSource
/
Regression
/
C
/
gcc-c-torture
/
execute
/
980526-3.c
blob: f69e7597e3e1c8f9cdc4083768b53f1d331bda43 [
file
] [
log
] [
blame
]
int
compare
(
x
,
y
)
unsigned
int
x
;
unsigned
int
y
;
{
if
(
x
==
y
)
return
0
;
else
return
1
;
}
main
()
{
unsigned
int
i
,
j
,
k
,
l
;
i
=
5
;
j
=
2
;
k
=
0
;
l
=
2
;
if
(
compare
(
5
%(~(
unsigned
)
2
),
i
%~
j
)
||
compare
(
0
,
k
%~
l
))
abort
();
else
exit
(
0
);
}