[cfe-commits] r75504 - /cfe/trunk/test/CodeGenObjC/debug-info-linkagename.m
Devang Patel
dpatel at apple.com
Mon Jul 13 14:20:20 PDT 2009
Author: dpatel
Date: Mon Jul 13 16:20:20 2009
New Revision: 75504
URL: http://llvm.org/viewvc/llvm-project?rev=75504&view=rev
Log:
New testcase for rev 75503.
Added:
cfe/trunk/test/CodeGenObjC/debug-info-linkagename.m
Added: cfe/trunk/test/CodeGenObjC/debug-info-linkagename.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/debug-info-linkagename.m?rev=75504&view=auto
==============================================================================
--- cfe/trunk/test/CodeGenObjC/debug-info-linkagename.m (added)
+++ cfe/trunk/test/CodeGenObjC/debug-info-linkagename.m Mon Jul 13 16:20:20 2009
@@ -0,0 +1,18 @@
+// RUN: clang-cc -g -S -o %t %s
+// RUN: not grep 001 %t
+
+
+ at interface F
+-(int) bar;
+ at end
+
+ at implementation F
+-(int) bar {
+ return 42;
+}
+ at end
+
+extern int f(F *fn) {
+ return [fn bar];
+}
+
More information about the cfe-commits
mailing list