Commit f423253b by Paolo Carlini Committed by Paolo Carlini

decl.c (grokdeclarator): Fix typo in pedwarn text.

2016-06-13  Paolo Carlini  <paolo.carlini@oracle.com>

	* decl.c (grokdeclarator): Fix typo in pedwarn text.

From-SVN: r237354
parent 5843a5f0
2016-06-13 Paolo Carlini <paolo.carlini@oracle.com>
* decl.c (grokdeclarator): Fix typo in pedwarn text.
2016-06-10 Thomas Schwinge <thomas@codesourcery.com> 2016-06-10 Thomas Schwinge <thomas@codesourcery.com>
PR c/71381 PR c/71381
......
...@@ -11365,7 +11365,7 @@ grokdeclarator (const cp_declarator *declarator, ...@@ -11365,7 +11365,7 @@ grokdeclarator (const cp_declarator *declarator,
{ {
if (storage_class == sc_static) if (storage_class == sc_static)
pedwarn (input_location, OPT_Wpedantic, pedwarn (input_location, OPT_Wpedantic,
"%<static%> specified invalid for function %qs " "%<static%> specifier invalid for function %qs "
"declared out of global scope", name); "declared out of global scope", name);
else else
pedwarn (input_location, OPT_Wpedantic, pedwarn (input_location, OPT_Wpedantic,
......
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