aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/friend38.C
blob: 41faf79110cffd8ab9cbaf85f719be9eac8e0eef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/22352

template <class A>
class s
{
  typedef int d;
  template <class s, typename s::d>
  friend class t;
};

s<int> t1;