aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2014-02-27 12:06:35 -0500
committerJason Merrill <jason@gcc.gnu.org>2014-02-27 12:06:35 -0500
commitb076556843574ba6beb9712502af8ed135944b83 (patch)
tree66c2bf28d762018debb983669e16a27ea55be758
parent93aaa05d1c798bc99f6d26473ec38ba9926a28f2 (diff)
downloadgcc-b076556843574ba6beb9712502af8ed135944b83.zip
gcc-b076556843574ba6beb9712502af8ed135944b83.tar.gz
gcc-b076556843574ba6beb9712502af8ed135944b83.tar.bz2
re PR c++/58648 ([c++11] ICE with variadic template)
PR c++/58648 * g++.dg/cpp0x/variadic153.C: New. From-SVN: r208202
-rw-r--r--gcc/testsuite/g++.dg/cpp0x/variadic153.C6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/variadic153.C b/gcc/testsuite/g++.dg/cpp0x/variadic153.C
new file mode 100644
index 0000000..42a92f6
--- /dev/null
+++ b/gcc/testsuite/g++.dg/cpp0x/variadic153.C
@@ -0,0 +1,6 @@
+// PR c++/58648
+// { dg-require-effective-target c++11 }
+
+template<int, typename...T, T...> int foo();
+
+int i = foo<0>();