19 lines · plain
1// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s2 3// Both properties should be emitted as having a class and an instance property4// with the same name is allowed.5@interface I16// CHECK: !DIObjCProperty(name: "p1"7// CHECK-SAME: line: [[@LINE+1]]8@property int p1;9// CHECK: !DIObjCProperty(name: "p1"10// CHECK-SAME: line: [[@LINE+1]]11@property(class) int p1;12@end13 14@implementation I115@synthesize p1;16@end17 18void foo(I1 *iptr) {}19