From 2e562987080cf23cb6b9c147cd4a975faac6e2ea Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 19 Jun 2015 14:15:17 -0400 Subject: [PATCH] re PR c++/66061 (Internal Compiler Error when specializing a variable template when the specialization is variadic) PR c++/66061 * g++.dg/cpp1y/var-templ31.C: New. From-SVN: r224675 --- gcc/testsuite/g++.dg/cpp1y/var-templ31.C | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 gcc/testsuite/g++.dg/cpp1y/var-templ31.C diff --git a/gcc/testsuite/g++.dg/cpp1y/var-templ31.C b/gcc/testsuite/g++.dg/cpp1y/var-templ31.C new file mode 100644 index 00000000000..e2bc59bd489 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp1y/var-templ31.C @@ -0,0 +1,8 @@ +// PR c++/66061 +// { dg-do compile { target c++14 } } + +template +int x = 1; + +template +int x = 1; -- 2.30.2