blob: f67fd022f63061157779424b60e9e5ae68120061 [file] [log] [blame]
// PR c++/26365
struct A {};
namespace N
{
template<int> void foo();
}
void bar(A *p)
{
p->N::foo<0>; // { dg-error "not a class member" }
}