OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR middle-end/40692
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr22061-4.c
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
}