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