This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |