https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96120

--- Comment #3 from Haoxin Tu <haoxintu at gmail dot com> ---
(In reply to Jonathan Wakely from comment #1)
> (In reply to Haoxin Tu from comment #0)
> > GCC might emit the ambiguity diagnostic message on it.
> 
> What does that mean?

Apologize for my expression. I mean the meaning of the error message "invalid
use of type ‘void’ in parameter declaration" is opposite with the valid
grammar(it should be allowed in the first parameter).

This might be not a bug, might be just an improvement?

Thanks.

Reply via email to