diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp0x/pr32128.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/pr32128.C | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/pr32128.C b/gcc/testsuite/g++.dg/cpp0x/pr32128.C new file mode 100644 index 000000000..5876dbec4 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp0x/pr32128.C @@ -0,0 +1,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" } |