From 1a0d92f7d673dbd11be7229177a080cc65a7468c Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Sat, 4 Feb 2012 01:30:45 +0000 Subject: [PATCH] New test case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149738 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenObjC/debug-info-property3.m | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/CodeGenObjC/debug-info-property3.m diff --git a/test/CodeGenObjC/debug-info-property3.m b/test/CodeGenObjC/debug-info-property3.m new file mode 100644 index 0000000000..b5edee0a56 --- /dev/null +++ b/test/CodeGenObjC/debug-info-property3.m @@ -0,0 +1,12 @@ +// RUN: %clang -S -emit-llvm -g %s -o - | FileCheck %s + +// CHECK: metadata !"p1", metadata !"p1", metadata !"setP1:", i32 2316} ; [ DW_TAG_APPLE_property ] +@interface I1 +@property int p1; +@end + +@implementation I1 +@synthesize p1; +@end + +void foo(I1 *iptr) {} -- 2.50.1