}
expr = error_mark_node;
}
- else if (processing_template_decl)
+ else if (processing_template_decl
+ && !(SCALAR_TYPE_P (type) && SCALAR_TYPE_P (TREE_TYPE (expr))))
{
/* In a template, we are only concerned about determining the
type of non-dependent expressions, so we do not have to