* decl.c: Update comment.
authorJason Merrill <jason@gcc.gnu.org>
Thu, 5 May 2016 13:33:35 +0000 (09:33 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 5 May 2016 13:33:35 +0000 (09:33 -0400)
From-SVN: r235923

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;
              }