* decl.c: Revert unwanted commit.

From-SVN: r187886
This commit is contained in:
Uros Bizjak 2012-05-25 17:09:49 +02:00
parent a295fa90c3
commit 305c089a9f

View file

@ -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);