mirror of git://gcc.gnu.org/git/gcc.git
compiler: Permit an empty interface to be embedded multiple times.
From-SVN: r184363
This commit is contained in:
parent
efb743a718
commit
09bac6601a
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue