diff options
Diffstat (limited to 'test/CodeGenObjC/encode-test-6.m')
-rw-r--r-- | test/CodeGenObjC/encode-test-6.m | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/CodeGenObjC/encode-test-6.m b/test/CodeGenObjC/encode-test-6.m index 10681dbcc592..b7feb14434bc 100644 --- a/test/CodeGenObjC/encode-test-6.m +++ b/test/CodeGenObjC/encode-test-6.m @@ -17,3 +17,21 @@ typedef struct {} Z; // CHECK: internal global [14 x i8] c"v16@0:8{?=}16 // CHECK: internal global [26 x i8] c"v32@0:8{?=}16*16{?=}24d24 + +// rdar://13190095 +@interface NSObject @end + +@class BABugExample; +typedef BABugExample BABugExampleRedefinition; + +@interface BABugExample : NSObject { + BABugExampleRedefinition *_property; // .asciz "^{BABugExample=^{BABugExample}}" +} +@property (copy) BABugExampleRedefinition *property; +@end + +@implementation BABugExample +@synthesize property = _property; +@end + +// CHECK: internal global [24 x i8] c"^{BABugExample=@}16 |