summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/friend20.C
blob: 11cb291f1bba4b0293a158d67b502f9dbfe79401 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }

template <class T = int> struct A;

template <class T> struct B
{
  friend class A<T>;
};

template class B<int>;