blob: 68878c525aca2e12282db074cda6e00ff30888bf [file] [log] [blame]
// PR c++/29732
struct A
{
template<int> template<typename T> friend void foo(T) {} // { dg-error "parameter" }
void bar() { foo(0); } // { dg-error "16:'foo' was not declared" }
};