view gcc/testsuite/g++.dg/template/current-inst1.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

// 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;