xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-property2.m (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc// FIXME: Check IR rather than asm, then triple is not needed.
2*0a6a1f1dSLionel Sambuc// RUN: %clang_cc1 -triple %itanium_abi_triple -masm-verbose -S -g %s -o - | FileCheck %s
3f4a2713aSLionel Sambuc
4f4a2713aSLionel Sambuc// CHECK: AT_APPLE_property_name
5f4a2713aSLionel Sambuc@interface C {
6f4a2713aSLionel Sambuc  int _base;
7f4a2713aSLionel Sambuc}
8f4a2713aSLionel Sambuc@property int base;
9f4a2713aSLionel Sambuc@end
10f4a2713aSLionel Sambuc
11f4a2713aSLionel Sambuc@implementation C
12f4a2713aSLionel Sambuc@synthesize base = _base;
13f4a2713aSLionel Sambuc@end
14f4a2713aSLionel Sambuc
15f4a2713aSLionel Sambucvoid foo(C *cptr) {}
16