summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/friend48.C
blob: 604697dae7a1fc26e0af1062425d54d8d907322e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/29020

template<int> struct A
{
  void foo();
};

struct B
{
  template<int N> friend void A<N>::A::foo();
};