Commit 17ee9a4e by Jason Merrill

* decl.c: Update comment.

From-SVN: r235923
parent 0f66751a
......@@ -11422,7 +11422,8 @@ grokdeclarator (const cp_declarator *declarator,
}
else if (current_function_decl)
{
/* FIXME need arm citation */
/* 7.1.1: There can be no static function declarations within a
block. */
error ("cannot declare static function inside another function");
invalid_static = 1;
}
......
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