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