1 // RUN: %clang_cc1 -emit-llvm -x objective-c -g -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: metadata !{i32 {{.*}}, metadata !"blah", {{.*}} metadata !"isBlah", metadata !"", {{.*}}} ; [ DW_TAG_APPLE_property ] [blah]
11 extern void NSLog(NSString *format, ...);
12 typedef signed char BOOL;
17 typedef unsigned int NSUInteger;
22 @interface NSObject <NSObject>
27 @interface Bar : NSObject
28 @property int normal_property;
29 @property (getter=isBlah, setter=setBlah:) BOOL blah;
33 @synthesize normal_property;
39 - (void) setBlah: (BOOL) newBlah
41 NSLog (@"Speak up, I didn't catch that.");
48 Bar *my_bar = [[Bar alloc] init];
51 NSLog (@"It was true!!!");