blob: 01260e1853431eb3a67c4d69659eb11ee51045c2 [file] [log] [blame]
// { dg-do compile { target c++11 } }
namespace N
{
template < typename T > class A
{
template < T > friend class B; // { dg-error "not a valid type" "" { target c++17_down } }
};
A < float > a;
}