1 // { dg-options "-std=c++0x" } 2 template<typename...> struct A; 3 4 template<char> struct A<> {}; // { dg-error "not used in partial specialization|anonymous|declaration" } 5 6 template<typename T, typename... U> struct A<T, U...> : A<U...> {}; // { dg-error "incomplete type" } 7 8 A<int> a; 9