PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / varmod1.C
blob38e1e1c85dfd17162acd9c6d2419d7c02f3dac29
1 // { dg-options "-w" }
3 template<typename T> void foo(T); // { dg-message "note" }
4  
5 void bar()
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 *-*-* } .-1 }