[Bug objc++/47261] ICE on @property declaration in the wrong place
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jul 23 20:36:00 GMT 2017
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.
More information about the Gcc-bugs
mailing list