blob: c3e154f0e2b6853633a637758d8ffbb796d92167 [file] [log] [blame]
// PR c++/62207
template<typename T> void foo(T)
{
X; // { dg-error "not declared" }
X;
}
void X();
void X(int);
void bar()
{
foo(0);
}