[cfe-commits] r149738 - /cfe/trunk/test/CodeGenObjC/debug-info-property3.m

Devang Patel dpatel at apple.com
Fri Feb 3 17:30:45 PST 2012


Author: dpatel
Date: Fri Feb  3 19:30:45 2012
New Revision: 149738

URL: http://llvm.org/viewvc/llvm-project?rev=149738&view=rev
Log:
New test case.

Added:
    cfe/trunk/test/CodeGenObjC/debug-info-property3.m

Added: cfe/trunk/test/CodeGenObjC/debug-info-property3.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/debug-info-property3.m?rev=149738&view=auto
==============================================================================
--- cfe/trunk/test/CodeGenObjC/debug-info-property3.m (added)
+++ cfe/trunk/test/CodeGenObjC/debug-info-property3.m Fri Feb  3 19:30:45 2012
@@ -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 ]
+ at interface I1
+ at property int p1;
+ at end
+
+ at implementation I1
+ at synthesize p1;
+ at end
+
+void foo(I1 *iptr) {}





More information about the cfe-commits mailing list