compiler: Permit an empty interface to be embedded multiple times.

From-SVN: r184363
This commit is contained in:
Ian Lance Taylor 2012-02-18 00:43:39 +00:00
parent efb743a718
commit 09bac6601a
1 changed files with 1 additions and 1 deletions

View File

@ -6471,7 +6471,7 @@ Interface_type::finalize_methods()
}
Named_type* nt = t->named_type();
if (nt != NULL)
if (nt != NULL && it->parse_methods_ != NULL)
{
std::vector<Named_type*>::const_iterator q;
for (q = seen.begin(); q != seen.end(); ++q)