// { dg-options "-w" } template void foo(T); void bar() { int i; int A[i][i]; foo(A); // { dg-error "" } }