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 // Ensure we emit the names of explicit/renamed accessors even if they
4 // are defined later in the implementation section.
6 // CHECK: !DIObjCProperty(name: "blah"
7 // CHECK-SAME: getter: "isBlah"
10 extern void NSLog(NSString *format, ...);
11 typedef signed char BOOL;
16 typedef unsigned int NSUInteger;
21 @interface NSObject <NSObject>
26 @interface Bar : NSObject
27 @property int normal_property;
28 @property (getter=isBlah, setter=setBlah:) BOOL blah;
32 @synthesize normal_property;
38 - (void) setBlah: (BOOL) newBlah
40 NSLog (@"Speak up, I didn't catch that.");
47 Bar *my_bar = [[Bar alloc] init];
50 NSLog (@"It was true!!!");