From-SVN: r19860
This commit is contained in:
Jason Merrill 1998-05-18 22:53:39 -04:00
parent 72e61a0705
commit 18c32f6939
1 changed files with 2 additions and 0 deletions

View File

@ -1472,6 +1472,8 @@ build_member_call (type, name, parmlist)
if (TREE_CODE (name) == TEMPLATE_ID_EXPR
&& TREE_CODE (type) == NAMESPACE_DECL)
{
/* 'name' already refers to the decls from the namespace, since we
hit do_identifier for template_ids. */
my_friendly_assert (is_overloaded_fn (TREE_OPERAND (name, 0)), 980519);
return build_x_function_call (name, parmlist, current_class_ref);
}