]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c++/58648 ([c++11] ICE with variadic template)
authorJason Merrill <jason@gcc.gnu.org>
Thu, 27 Feb 2014 17:06:35 +0000 (12:06 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 27 Feb 2014 17:06:35 +0000 (12:06 -0500)
PR c++/58648
* g++.dg/cpp0x/variadic153.C: New.

From-SVN: r208202

gcc/testsuite/g++.dg/cpp0x/variadic153.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.dg/cpp0x/variadic153.C b/gcc/testsuite/g++.dg/cpp0x/variadic153.C
new file mode 100644 (file)
index 0000000..42a92f6
--- /dev/null
@@ -0,0 +1,6 @@
+// PR c++/58648
+// { dg-require-effective-target c++11 }
+
+template<int, typename...T, T...> int foo();
+
+int i = foo<0>();