https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119871
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> ---
Are you sure about this?
https://eel.is/c++draft/basic.scope.block#2 doesn't say that the declaration it
conflicts with (i.e. first) must be name-independent declaration, it just says
it about the second one.
int _; at function body scope is name-independent.