diff options
author | Devang Patel <dpatel@apple.com> | 2012-02-04 01:30:45 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2012-02-04 01:30:45 +0000 |
commit | 1a0d92f7d673dbd11be7229177a080cc65a7468c (patch) | |
tree | cd989198fbfde7d2a9021259ba1bf55ce3a1a54f | |
parent | 50a9a12d4f7387bcff3213d4b56e74bab9f4f5d2 (diff) |
New test case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149738 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGenObjC/debug-info-property3.m | 12 |
1 files changed, 12 insertions, 0 deletions
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) {} |