Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20001013-1.c
blob: be5349a2de9da6730b44fd0e053592ae287c09e5 [
file
] [
log
] [
blame
]
void
abort
(
void
);
void
exit
(
int
);
struct
x
{
int
a
,
b
;
}
z
=
{
-
4028
,
4096
};
int
foo
(
struct
x
*
p
,
int
y
)
{
if
((
y
&
0xff
)
!=
y
||
-
p
->
b
>=
p
->
a
)
return
1
;
return
0
;
}
int
main
(
void
)
{
if
(
foo
(&
z
,
10
))
abort
();
exit
(
0
);
}