[LLVMbugs] [Bug 7064] Crash with synthesized ivar of incomplete struct type

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 9 15:25:26 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=7064

Fariborz Jahanian <fjahanian at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #3 from Fariborz Jahanian <fjahanian at apple.com> 2012-07-09 17:25:26 CDT ---
This has already been fixed in TOT, with following diagnostic:

test.m:13:13: error: cannot synthesize property 'bar' with incomplete type
'struct bar'
@synthesize bar;
            ^
test.m:7:18: note: forward declaration of 'struct bar'
@property struct bar bar;
                 ^
test.m:7:22: note: property declared here
@property struct bar bar;
                     ^
1 error generated.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list