Commit 79894a61 by Jakub Jelinek Committed by Jakub Jelinek

re PR c++/70808 (Spurious -Wzero-as-null-pointer-constant for nullptr_t)

	PR c++/70808
	* g++.dg/warn/Wzero-as-null-pointer-constant-7.C: Require c++11
	effective target.

From-SVN: r259325
parent 037cac8a
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
......
// PR c++/70808
// { dg-do compile { target c++11 } }
// { dg-options "-Wzero-as-null-pointer-constant" }
int* no_warn = {};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment