https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127044
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #5 from Drea Pinski <pinskia at gcc dot gnu.org> ---
So as mentioned the attribute here applies to an empty declaration rather than
an empty statement.
So there is no bug with respect to -Wdeclaration-after-statement since it is a
declaration.