PR c++/66061
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jun 2015 18:15:17 +0000 (18:15 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jun 2015 18:15:17 +0000 (18:15 +0000)
* g++.dg/cpp1y/var-templ31.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224675 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/g++.dg/cpp1y/var-templ31.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.dg/cpp1y/var-templ31.C b/gcc/testsuite/g++.dg/cpp1y/var-templ31.C
new file mode 100644 (file)
index 0000000..e2bc59b
--- /dev/null
@@ -0,0 +1,8 @@
+// PR c++/66061
+// { dg-do compile { target c++14 } }
+
+template<int...>
+int x = 1;
+
+template<int n, int... m>
+int x<n, m...> = 1;