OSDN Git Service

PR c++/37256
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / variadic37.C
1 // { dg-options "-std=gnu++0x" }
2 template<typename... Values>
3 struct tuple
4 {
5   static const __SIZE_TYPE__ length = sizeof...(Values);
6 };
7
8 int a0[tuple<>::length == 0? 1 : -1];
9 int a1[tuple<int>::length == 1? 1 : -1];
10 int a2[tuple<int, float>::length == 2? 1 : -1];