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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr22061-3.c
blob
2a2d7ff1bb97e621b4b386f2c26f01f6e533c212
1
void
abort
(
void
);
2
void
exit
(
int
);
3
4
void
5
bar
(
int
N
)
6
{
7
int
foo
(
char
a
[
2
][++
N
]) {
N
+=
4
;
return sizeof
(
a
[
0
]); }
8
if
(
foo
(
0
) !=
2
)
9
abort
();
10
if
(
foo
(
0
) !=
7
)
11
abort
();
12
if
(
N
!=
11
)
13
abort
();
14
}
15
16
int
17
main
()
18
{
19
bar
(
1
);
20
exit
(
0
);
21
}