From: Jason Merrill Date: Thu, 5 May 2016 13:33:35 +0000 (-0400) Subject: * decl.c: Update comment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=17ee9a4e8c02267da1e5d7485ec9bdab83072b45;p=gcc.git * decl.c: Update comment. From-SVN: r235923 --- diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 5f9031f0664..8dbc730f3a6 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -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; }