summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic110.C
blob: 47a9ed9a6ff5bbeead428d819e0942f11b10d97d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR c++/45698
// { dg-do compile { target c++11 } }

template <class... Ts> struct tuple { };

template<class... Ts>
struct A {
  template<typename T> struct N { };
  tuple<N<Ts>...> tup;
};

int main()
{
  A<int, double> a;
}