Sign in
llvm
/
llvm-test-suite
/
8e6f3ef1b8f30cca66fd1a4e35d16bdfd0c622ba
/
.
/
SingleSource
/
Regression
/
C
/
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
;
}