https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123955
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
See Patrick's comments at Bug 123112 which say that GCC and Clang trunk are
correct.
So this is a diagnostic bug. We should say where the reference to void gets
formed.
