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

template <class T = int>
struct S
{
  template <class U>
  friend class S;
};

template struct S<int>;