aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/debug-info-property3.m
blob: 68cb234878a388627f95ee3bfab7f40ab9c60ba9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %clang_cc1 -S -emit-llvm -g %s -o - | FileCheck %s

@interface I1
// CHECK: !DIObjCProperty(name: "p1"
// CHECK-SAME:            line: [[@LINE+2]]
// CHECK-SAME:            attributes: 2316
@property int p1;
@end

@implementation I1
@synthesize p1;
@end

void foo(I1 *iptr) {}