Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20000706-3.c
blob: b5758d9abb01ffc77572d042477a85ec6227864b [
file
] [
log
] [
blame
]
extern
void
abort
(
void
);
extern
void
exit
(
int
);
int
c
;
void
baz
(
int
*
p
)
{
c
=
*
p
;
}
void
bar
(
int
b
)
{
if
(
c
!=
1
||
b
!=
2
)
abort
();
}
void
foo
(
int
a
,
int
b
)
{
baz
(&
a
);
bar
(
b
);
}
int
main
()
{
foo
(
1
,
2
);
exit
(
0
);
}