]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/variadic164.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic164.C
CommitLineData
17e87c1c
JM
1// PR c++/63522
2// { dg-do compile { target c++11 } }
3
4template <typename...> struct tuple;
5template <typename...> void slice();
6template <int Index, typename...> using slice_result = decltype(slice<Index>);
7template <typename Tuple, typename... Tuples, int... ElementIndices,
8 typename =
9 typename tuple<slice_result<ElementIndices, Tuples...>,
10 slice_result<ElementIndices, Tuples...>...>::type> // { dg-error "parameter pack" }
11void zip_with(Tuple...);
12decltype(zip_with(0)) d; // { dg-error "no match" }
This page took 4.198262 seconds and 5 git commands to generate.