* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic140.C
blob17ca9e5fdfa203af08294387453d2fcea76ee79d
1 // Origin: PR c++/53609
2 // { dg-do compile { target c++11 } }
4 template<class...I> struct List{ static const bool is_ok = false;};
5 template<int T> struct Z
7   static const int value = T;
8   static const int value_square = T * T;
9 };
11 template<template<int> class U>
12 struct List<U<2>, U<3>, U<4>, U<9>> { static const bool is_ok = true;};
14 template<int...T> using LZ = List<Z<T>...>;
16 template<class...T>
17 struct F
19   using N = LZ<T::value..., T::value_square...>;
22 static_assert (F<Z<2>, Z<3>>::N::is_ok, "");