1// { dg-options "-w" }
2
3template<typename T> void foo(T); // { dg-message "note" }
4
5void bar()
6{
7  int i;
8  int A[i][i];
9  foo(A); // { dg-error "" }
10  // { dg-message "(candidate|not a valid template argument)" "candidate note" { target *-*-* } 9 }
11}
12