From: Paolo Carlini Date: Wed, 5 Aug 2015 10:07:57 +0000 (+0000) Subject: re PR c++/66595 ([C++14] ICE in partial specialization template variables) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8282c8776d3727948daa41fa340f6b16d4f563d4;p=gcc.git re PR c++/66595 ([C++14] ICE in partial specialization template variables) 2015-08-05 Paolo Carlini PR c++/66595 * g++.dg/cpp1y/var-templ35.C: New. From-SVN: r226617 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e7e74a36b25..aab1f851bb7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-08-05 Paolo Carlini + + PR c++/66595 + * g++.dg/cpp1y/var-templ35.C: New. + 2015-08-05 Richard Biener PR tree-optimization/67055 diff --git a/gcc/testsuite/g++.dg/cpp1y/var-templ35.C b/gcc/testsuite/g++.dg/cpp1y/var-templ35.C new file mode 100644 index 00000000000..c2c58aca4aa --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp1y/var-templ35.C @@ -0,0 +1,5 @@ +// PR c++/66595 +// { dg-do compile { target c++14 } } + +template int typeID{42}; +template double typeID{10.10}; // { dg-error "primary template|redeclaration" }