Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / template / varmod1.C
blob6ae78d9003f58c98e978168545100a92a435c466
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" "candidate note" { target *-*-* } 9 }