repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
p18298.c
blob
5aff51f5fabc3e717f296035e01fd2f254943ffd
1
#include <stdbool.h>
2
#include <stdlib.h>
3
int
strcmp
(
const char
*,
const char
*);
4
char
s
[
2048
] =
"a"
;
5
inline
bool
foo
(
const char
*
str
) {
6
return
!
strcmp
(
s
,
str
);
7
}
8
int
main
() {
9
int
i
=
0
;
10
while
(!(
foo
(
""
))) {
11
i
++;
12
s
[
0
] =
'\0'
;
13
if
(
i
>
2
)
14
abort
();
15
}
16
return
0
;
17
}
18