blob: 74f35f7334329bd08a05791087b5ea2446a383a2 [file] [log] [blame]
// { dg-do compile { target c++11 } }
template<int...> struct A
{
void foo();
};
struct B
{
template<int N> friend void A<N>::A::foo(); // { dg-error "declared as friend" }
};