diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp0x/pr34054.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/pr34054.C | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/pr34054.C b/gcc/testsuite/g++.dg/cpp0x/pr34054.C new file mode 100644 index 000000000..cfc6c4bdc --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp0x/pr34054.C @@ -0,0 +1,5 @@ +// PR c++/34054 +// { dg-do compile } +// { dg-options "-std=c++0x" } + +template<typename... T> T foo() {} // { dg-error "not expanded|T" } |