Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.c-torture / execute / pr22061-1.c
blob65375fecbc68b7d4ff85e906f00693a36fa73ab3
1 int N = 1;
2 void foo() {} /* Necessary to trigger the original ICE. */
3 void bar (char a[2][N]) { a[1][0] = N; }
4 int
5 main (void)
7 void *x;
9 N = 4;
10 x = alloca (2 * N);
11 memset (x, 0, 2 * N);
12 bar (x);
13 if (N[(char *) x] != N)
14 abort ();
15 exit (0);