svn merge -r102224:107263 svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / crash5.C
blob6584ee645054e88d66311a31442b1d5f5e0b38c4
1 // { dg-do compile }
2 //
3 // PR 17618
5 void foo()
7     p; // { dg-error "not declared" }
8     (void*) p;