aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/current-inst1.C
blob: 8f42ef844405845d1ace2cab0e25c73781f8d145 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// PR c++/53549

template<typename T>
struct C2
{
  int operator()();

  template<int> struct F2;
};


template<typename T>
template<int I>
struct C2<T>::F2 : C2<T>
{
  using C2<T>::operator();
};

C2<int>::F2<42> f;