https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123618
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |jason at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Given that
https://eel.is/c++draft/dcl.attr#annotation-1
says that it applies to a declaration of a variable, guess that is the case,
in void f([[=1]] void) {} it applies to a parameter-declaration which I guess
is not a declaration of a variable in the end.