]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* decl.c: Update comment.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 May 2016 13:33:35 +0000 (13:33 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 May 2016 13:33:35 +0000 (13:33 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235923 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/decl.c

index 5f9031f0664ee480900d12de735cff21539f43f6..8dbc730f3a697ee3358a867f68b54b14eebe6c63 100644 (file)
@@ -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;
              }