summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/friend45.C
blob: 61c365617491e331b88b514365f5f75fd435c820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// PR c++/28025

class BaseSubmit
{
  template<class T> friend class PeriodicSubmit;
};

template<class ID>
class ValuesSubmit 
{
  template<class T> friend class PeriodicSubmit;
};

class A;
class MultiSubmit : public ValuesSubmit<A>
{
};