1 // RUN: %clang_cc1 -emit-llvm -x objective-c -debug-info-kind=limited -triple x86_64-apple-macosx10.8.0 %s -o - | FileCheck %s
3 // rdar://problem/14035789
5 // Ensure we emit the names of explicit/renamed accessors even if they
6 // are defined later in the implementation section.
8 // CHECK: !DIObjCProperty(name: "blah"
9 // CHECK-SAME: getter: "isBlah"
12 extern void NSLog(NSString *format, ...);
13 typedef signed char BOOL;
18 typedef unsigned int NSUInteger;
23 @interface NSObject <NSObject>
28 @interface Bar : NSObject
29 @property int normal_property;
30 @property (getter=isBlah, setter=setBlah:) BOOL blah;
34 @synthesize normal_property;
40 - (void) setBlah: (BOOL) newBlah
42 NSLog (@"Speak up, I didn't catch that.");
49 Bar *my_bar = [[Bar alloc] init];
52 NSLog (@"It was true!!!");