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

template<typename...T, typename...U> 
  struct A<T..., U...> {}; // { dg-error "must be at the end" }

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