summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic83.C
blob: 2613d625f09eef958209945734f911973447327d (plain)
1
2
3
4
5
6
7
8
// PR c++/31441
// { dg-options "-std=gnu++0x" }

template<typename> struct A;

template<typename... T> struct A<T...> { }; // { dg-bogus "cannot expand" "" { xfail *-*-* } }

A<int> a; // { dg-bogus "incomplete type" "" { xfail *-*-* } }