* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic67.C
blob6e328cfe0bd05adade8c95389dd246593b179a27
1 // { dg-do compile { target c++11 } }
2 template<typename... Elements> struct tuple {};
4 template<typename... Args>
5 struct nested
7   typedef tuple<tuple<Args, Args...>...> type;
8 };
10 template<typename T, typename U>
11 struct is_same
13   static const bool value = false;
16 template<typename T>
17 struct is_same<T, T>
19   static const bool value = true;
22 int a0[is_same<nested<int, float>::type, 
23                       tuple<tuple<int, int, float>, 
24                             tuple<float, int, float> > >::value? 1 : -1];