From: jason Date: Fri, 19 Jun 2015 18:15:17 +0000 (+0000) Subject: PR c++/66061 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f6663122b11f9c700ca08e7678c7c4d77da23dbb;p=thirdparty%2Fgcc.git PR c++/66061 * g++.dg/cpp1y/var-templ31.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224675 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 000000000000..e2bc59bd489c --- /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;