* gcc.c-torture/execute/20101011-1.c: Skip on SH.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr22061-4.c
blob38ce3e8c50789594d1de1e3d72e9cbdb4f016a08
1 void
2 bar (int N)
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 ();
17 int
18 main (void)
20 bar (1);
21 exit (0);