blob: b2b035b9baf2729bcf6bb2c63db23cda177405cc [file] [log] [blame]
// PR c++/81247 confused error
namespace N { // { dg-message "previous declaration" }
}
template < typename T > class A
{ // { dg-error "redeclared as different" }
template < T > friend class N;
};
void f ()
{
A < int > a1;
}