repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR tree-optimization/81384 - built-in form of strnlen missing
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20030120-2.c
blob
298bc4f5b4f57eab26410fe759290110623de5d5
1
/* PR 8848 */
2
3
extern
void
abort
();
4
5
int
foo
(
int
status
)
6
{
7
int
s
=
0
;
8
if
(
status
==
1
)
s
=
1
;
9
if
(
status
==
3
)
s
=
3
;
10
if
(
status
==
4
)
s
=
4
;
11
return
s
;
12
}
13
14
int
main
()
15
{
16
if
(
foo
(
3
) !=
3
)
17
abort
();
18
return
0
;
19
}