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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
G++ 9+ now gives:

71790.C: In function ‘int main(int, char**)’:
71790.C:3:3: warning: attributes at the beginning of statement are ignored
[-Wattributes]
    3 |   [[arbitrary_attribute]]
      |   ^~~~~~~~~~~~~~~~~~~~~~~

Reply via email to