aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/variadic83.C
blob: 507fc7e4c6cedbfb95f9ebf757c8fef9f806377c (plain)
1
2
3
4
5
6
7
8
// PR c++/31441
// { dg-do compile { target c++11 } }

template<typename> struct A;

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

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