aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6/gcc/testsuite/g++.dg/cpp0x/variadic110.C
blob: 86f1bb1543c23802d8e21f0bd046e1e1e71d75b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR c++/45698
// { dg-options -std=c++0x }

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