1 // RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
4 @interface NSArray @end
6 @interface NSMutableArray : NSArray
10 @interface BPXLAppDelegate
12 - (NSArray *)arrayOfThings;
17 @interface BPXLAppDelegate ()
18 @property (retain, nonatomic) NSMutableArray *arrayOfThings;
21 @implementation BPXLAppDelegate
23 @synthesize arrayOfThings=_arrayOfThings;
25 - (void)applicationDidFinishLaunching
27 [self.arrayOfThings addObject];
32 // CHECK: define internal [[RET:%.*]]* @"\01-[BPXLAppDelegate arrayOfThings
33 // CHECK: [[THREE:%.*]] = bitcast [[OPQ:%.*]]* [[TWO:%.*]] to [[RET]]*
34 // CHECK: ret [[RET]]* [[THREE]]