diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2016-05-05 09:33:35 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2016-05-05 09:33:35 -0400 |
commit | 17ee9a4e8c02267da1e5d7485ec9bdab83072b45 (patch) | |
tree | a9e4fe43dd62adfa3f90bf2fe342edba955d5e01 | |
parent | 0f66751a5f947a15920f1d4eadfdaaf9410e677a (diff) | |
download | gcc-17ee9a4e8c02267da1e5d7485ec9bdab83072b45.zip gcc-17ee9a4e8c02267da1e5d7485ec9bdab83072b45.tar.gz gcc-17ee9a4e8c02267da1e5d7485ec9bdab83072b45.tar.bz2 |
* decl.c: Update comment.
From-SVN: r235923
-rw-r--r-- | gcc/cp/decl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 5f9031f..8dbc730 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; } |