pn2adg.cc: edge_name: allocate enough space for edge name
[ppn.git] / tests / inputs / testshift.c
blobb53bd6a6baafc780dfecd2dce57c7ba71db74520
1 int N;
3 int main()
5 int i, j;
6 int A[1][1];
8 for (i = 0; i < 2; ++i)
9 for (j = 1; j < N; ++j)
10 A[i][j] = 0;
11 for (i = 0; i < N; ++i)
12 A[i][0] = 1;
13 for (i = 2; i < N; ++i)
14 for (j = 1; j < N; ++j)
15 A[i][j] = A[i-2][j-1];