This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc++/47261] ICE on @property declaration in the wrong place
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 23 Jul 2017 20:36:12 +0000
- Subject: [Bug objc++/47261] ICE on @property declaration in the wrong place
- Auto-submitted: auto-generated
- References: <bug-47261-4@http.gcc.gnu.org/bugzilla/>
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.