Commit 305c089a by Uros Bizjak

* decl.c: Revert unwanted commit.

From-SVN: r187886
parent a295fa90
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment