blob: f75373555ce4fa15140f19c3b8795028a105776b (
plain)
1
2
3
4
5
6
7
8
|
// { dg-do compile { target c++11 } }
template<typename...> struct A;
template<char> struct A<> {}; // { dg-error "not used in partial specialization|anonymous|declaration" }
template<typename T, typename... U> struct A<T, U...> : A<U...> {}; // { dg-error "incomplete type" }
A<int> a;
|