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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It should be:

struct A {} [[deprecated]];

or:

__attribute__((deprecated)) struct A {};

Reply via email to