re PR c++/70808 (Spurious -Wzero-as-null-pointer-constant for nullptr_t)
authorJakub Jelinek <jakub@redhat.com>
Wed, 11 Apr 2018 15:55:15 +0000 (17:55 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 11 Apr 2018 15:55:15 +0000 (17:55 +0200)
PR c++/70808
* g++.dg/warn/Wzero-as-null-pointer-constant-7.C: Require c++11
effective target.

From-SVN: r259325

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wzero-as-null-pointer-constant-7.C

index a1360c9d6ed7962c272daee7b60e5b9bec04b42f..b726a4b526dc2a51a3f51ca08e983261ba9cb285 100644 (file)
@@ -1,3 +1,9 @@
+2018-04-11  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/70808
+       * g++.dg/warn/Wzero-as-null-pointer-constant-7.C: Require c++11
+       effective target.
+
 2018-04-11  Alexander Monakov  <amonakov@ispras.ru>
 
        PR target/84301
index 808b85ba8c3051ca2b78e756b20f943018a6f86c..b03ec943b354c2072f260b3774c2fc94e88838f1 100644 (file)
@@ -1,4 +1,5 @@
 // PR c++/70808
+// { dg-do compile { target c++11 } }
 // { dg-options "-Wzero-as-null-pointer-constant" }
 
 int* no_warn = {};