Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20030120-2.c
blob: 298bc4f5b4f57eab26410fe759290110623de5d5 [
file
] [
log
] [
blame
]
/* PR 8848 */
extern
void
abort
();
int
foo
(
int
status
)
{
int
s
=
0
;
if
(
status
==
1
)
s
=
1
;
if
(
status
==
3
)
s
=
3
;
if
(
status
==
4
)
s
=
4
;
return
s
;
}
int
main
()
{
if
(
foo
(
3
)
!=
3
)
abort
();
return
0
;
}