llvm-project/clang/test/CodeGenObjC/debug-info-property4.m

19 lines
417 B
Objective-C

// FIXME: Check IR rather than asm, then triple is not needed.
// RUN: %clang_cc1 -triple %itanium_abi_triple -masm-verbose -S -g %s -o - | FileCheck %s
// CHECK: AT_APPLE_property_name
// CHECK-NOT: AT_APPLE_property_getter
// CHECK-NOT: AT_APPLE_property_setter
// CHECK: AT_APPLE_property_attribute
// CHECK: AT_APPLE_property
@interface I1
@property int p1;
@end
@implementation I1
@end
void foo(I1 *ptr) {}