From: Jason Merrill Date: Fri, 19 Jun 2015 18:15:17 +0000 (-0400) Subject: re PR c++/66061 (Internal Compiler Error when specializing a variable template when... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e562987080cf23cb6b9c147cd4a975faac6e2ea;p=gcc.git 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 --- 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;