summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/pr31439.C
blob: 9d22b56c2f8bc95b8bfc038d09dbf5dcd635efaa (plain)
1
2
3
4
5
6
7
8
// { dg-options "-std=c++0x" }
template<typename...> struct A; // { dg-error "declaration" }

template<char> struct A<> {}; // { dg-error "not used in partial specialization|anonymous" }

template<typename T, typename... U> struct A<T, U...> : A<U...> {}; // { dg-error "incomplete type" }

A<int> a;