Wzero-as-null-pointer-constant-7.C: Move...
authorPaolo Carlini <paolo@gcc.gnu.org>
Wed, 11 Apr 2018 18:14:07 +0000 (18:14 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 11 Apr 2018 18:14:07 +0000 (18:14 +0000)
2018-04-11  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/warn/Wzero-as-null-pointer-constant-7.C: Move...
* g++.dg/cpp0x/Wzero-as-null-pointer-constant-3.C: ... here.

From-SVN: r259327

gcc/testsuite/g++.dg/cpp0x/Wzero-as-null-pointer-constant-3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/warn/Wzero-as-null-pointer-constant-7.C [deleted file]

diff --git a/gcc/testsuite/g++.dg/cpp0x/Wzero-as-null-pointer-constant-3.C b/gcc/testsuite/g++.dg/cpp0x/Wzero-as-null-pointer-constant-3.C
new file mode 100644 (file)
index 0000000..b03ec94
--- /dev/null
@@ -0,0 +1,6 @@
+// PR c++/70808
+// { dg-do compile { target c++11 } }
+// { dg-options "-Wzero-as-null-pointer-constant" }
+
+int* no_warn = {};
+decltype( nullptr ) warn = {};
diff --git a/gcc/testsuite/g++.dg/warn/Wzero-as-null-pointer-constant-7.C b/gcc/testsuite/g++.dg/warn/Wzero-as-null-pointer-constant-7.C
deleted file mode 100644 (file)
index b03ec94..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-// PR c++/70808
-// { dg-do compile { target c++11 } }
-// { dg-options "-Wzero-as-null-pointer-constant" }
-
-int* no_warn = {};
-decltype( nullptr ) warn = {};