This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug objc++/47261] ICE on @property declaration in the wrong place


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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |egallager at gcc dot gnu.org
      Known to work|                            |8.0
         Resolution|---                         |FIXED
      Known to fail|                            |4.6.0

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
When I try to compile it with trunk, it gives a sane error message:

$ /usr/local/bin/g++ -c 47261.mm
47261.mm:6:2: error: expected unqualified-id before ‘property’
  @property int x;
  ^
47261.mm:6:2: error: expected ‘;’ before ‘property’

Assuming this was fixed at some point.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]