1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
3 @interface NSArray @end
5 @interface NSMutableArray : NSArray
9 @interface BPXLAppDelegate
11 - (NSArray *)arrayOfThings;
16 @interface BPXLAppDelegate ()
17 @property (retain, nonatomic) NSMutableArray *arrayOfThings;
20 @implementation BPXLAppDelegate
22 @synthesize arrayOfThings=_arrayOfThings;
24 - (void)applicationDidFinishLaunching
26 [self.arrayOfThings addObject];
31 // CHECK: define internal ptr @"\01-[BPXLAppDelegate arrayOfThings
32 // CHECK: ret ptr [[TWO:%.*]]