Skip to content
Snippets Groups Projects
Commit 9f693d56 authored by Paolo Carlini's avatar Paolo Carlini Committed by Paolo Carlini
Browse files

re PR c++/52718 (-Wzero-as-null-pointer-constant: misleading location for 0 as default argument)

/cp
2012-03-29  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/52718
	* decl.c (check_default_argument): With -Wzero-as-null-pointer-constant
	warn for a zero as null pointer constant default argument.

/testsuite
2012-03-29  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/52718
	* g++.dg/warn/Wzero-as-null-pointer-constant-5.C: New.

From-SVN: r185983
parent b9bebd7f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment