view clang/test/CodeGenObjC/debug-info-property3.m @ 180:680fa57a2f20

fix compile errors.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 30 May 2020 17:44:06 +0900
parents 1d019706d866
children
line wrap: on
line source

// RUN: %clang_cc1 -S -emit-llvm -debug-info-kind=limited %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) {}