* g++.dg/cpp1z/nontype-auto11.C: Move from pr79583.C.
authorJason Merrill <jason@gcc.gnu.org>
Thu, 25 May 2017 21:24:48 +0000 (17:24 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 25 May 2017 21:24:48 +0000 (17:24 -0400)
From-SVN: r248471

gcc/testsuite/g++.dg/cpp0x/pr79583.C [deleted file]
gcc/testsuite/g++.dg/cpp1z/nontype-auto11.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.dg/cpp0x/pr79583.C b/gcc/testsuite/g++.dg/cpp0x/pr79583.C
deleted file mode 100644 (file)
index 30cdf9f..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-// { dg-do compile { target c++11 } }
-
-template < auto >  // { dg-error "parameter" }
-struct Outer
-{
-  template < int >
-  struct Inner { };
-};
-Outer<0> a{};
diff --git a/gcc/testsuite/g++.dg/cpp1z/nontype-auto11.C b/gcc/testsuite/g++.dg/cpp1z/nontype-auto11.C
new file mode 100644 (file)
index 0000000..ac35676
--- /dev/null
@@ -0,0 +1,10 @@
+// PR c++/79583
+// { dg-do compile { target c++11 } }
+
+template < auto >  // { dg-error "parameter" "" { target c++14_down } }
+struct Outer
+{
+  template < int >
+  struct Inner { };
+};
+Outer<0> a{};