On 9/26/19 3:39 PM, Paolo Carlini wrote:
+template void foo<int>(  // { dg-error "15:template-id .foo<int>. used as a 
declarator" }

That's a strange diagnostic message; there's nothing wrong with using a template-id as a declarator. Why are we even calling grokdeclarator when we hit EOF in the middle of the declarator?

Jason

Reply via email to