* decl.c: Revert unwanted commit.
From-SVN: r187886
This commit is contained in:
parent
a295fa90c3
commit
305c089a9f
1 changed files with 1 additions and 2 deletions
|
@ -9803,8 +9803,7 @@ grokdeclarator (const cp_declarator *declarator,
|
|||
clones. */
|
||||
DECL_ABSTRACT (decl) = 1;
|
||||
}
|
||||
else if (current_class_type
|
||||
&& constructor_name_p (unqualified_id, current_class_type))
|
||||
else if (constructor_name_p (unqualified_id, current_class_type))
|
||||
permerror (input_location, "ISO C++ forbids nested type %qD with same name "
|
||||
"as enclosing class",
|
||||
unqualified_id);
|
||||
|
|
Loading…
Add table
Reference in a new issue