summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic65.C
blob: 1c815d1d90f0b78c438cd4d17e490c24e81b74cd (plain)
1
2
3
4
5
6
7
8
// { dg-options "-std=gnu++0x" }
struct unused;
template<typename T1 = unused, typename T2 = unused, typename T3 = unused,
         typename T4 = unused, typename T5 = unused, typename T6 = unused>
struct tuple {};

template<typename... Args>
void foo(tuple<Args...>) { } // { dg-bogus "cannot expand" "" { xfail *-*-* } }