1f4a2713aSLionel Sambuc// RUN: %clang_cc1 -emit-llvm -g -w -triple x86_64-apple-darwin10 %s -o - | FileCheck %s 2f4a2713aSLionel Sambuc# 1 "foo.m" 1 3f4a2713aSLionel Sambuc# 1 "foo.m" 2 4f4a2713aSLionel Sambuc# 1 "./foo.h" 1 5f4a2713aSLionel Sambuc@interface NSObject { 6f4a2713aSLionel Sambuc struct objc_object *isa; 7f4a2713aSLionel Sambuc} 8f4a2713aSLionel Sambuc@end 9f4a2713aSLionel Sambuc@class NSDictionary; 10f4a2713aSLionel Sambuc 11f4a2713aSLionel Sambuc@interface Foo : NSObject {} 12f4a2713aSLionel Sambuc@property (strong, nonatomic) NSDictionary *dict; 13f4a2713aSLionel Sambuc@end 14f4a2713aSLionel Sambuc# 2 "foo.m" 2 15f4a2713aSLionel Sambuc 16f4a2713aSLionel Sambuc 17f4a2713aSLionel Sambuc 18f4a2713aSLionel Sambuc 19f4a2713aSLionel Sambuc@implementation Foo 20f4a2713aSLionel Sambuc@synthesize dict = _dict; 21f4a2713aSLionel Sambuc 22f4a2713aSLionel Sambuc- (void) bork { 23f4a2713aSLionel Sambuc} 24f4a2713aSLionel Sambuc@end 25f4a2713aSLionel Sambuc 26f4a2713aSLionel Sambucint main(int argc, char *argv[]) { 27f4a2713aSLionel Sambuc @autoreleasepool { 28f4a2713aSLionel Sambuc Foo *f = [Foo new]; 29f4a2713aSLionel Sambuc [f bork]; 30f4a2713aSLionel Sambuc } 31f4a2713aSLionel Sambuc} 32f4a2713aSLionel Sambuc 33f4a2713aSLionel Sambuc// CHECK: ![[FILE:.*]] = {{.*}}[ DW_TAG_file_type ] [{{.*}}/foo.h] 34*0a6a1f1dSLionel Sambuc// CHECK: ![[FILE]], {{.*}} ; [ DW_TAG_subprogram ] [line 8] [local] [def] [-[Foo dict]] 35