* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic-unify.C
blob29b528ccc4416f03603f9e82a4e5cf8ccc584af6
1 // { dg-do compile { target c++11 } }
2 template<typename...> struct tuple { };
4 template<typename... Args1, typename... Args2>
5 void foo(tuple<Args1..., Args2...>, tuple<Args1...>, tuple<Args2...>);
7 struct X{ };
9 void bar()
11   tuple<int, float> tif;
12   tuple<double, X> tdx;
13   tuple<int, float, double, X> tall;
14   foo(tall, tif, tdx);