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