21 lines · plain
1// Checks basic debug-info generation for property. Makes sure we2// create a DIObjCProperty for the synthesized property.3 4// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s5 6// CHECK: !DIObjCProperty(name: "p1"7// CHECK-SAME: attributes: 23168// CHECK-SAME: type: ![[P1_TYPE:[0-9]+]]9//10// CHECK: ![[P1_TYPE]] = !DIBasicType(name: "int"11 12@interface I1 {13int p1;14}15@property int p1;16@end17 18@implementation I119@synthesize p1;20@end21