]> granicus.if.org Git - clang/commitdiff
New testcase for rev 75503.
authorDevang Patel <dpatel@apple.com>
Mon, 13 Jul 2009 21:20:20 +0000 (21:20 +0000)
committerDevang Patel <dpatel@apple.com>
Mon, 13 Jul 2009 21:20:20 +0000 (21:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75504 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenObjC/debug-info-linkagename.m [new file with mode: 0644]

diff --git a/test/CodeGenObjC/debug-info-linkagename.m b/test/CodeGenObjC/debug-info-linkagename.m
new file mode 100644 (file)
index 0000000..9a7de32
--- /dev/null
@@ -0,0 +1,18 @@
+// RUN: clang-cc  -g -S -o %t %s
+// RUN: not grep 001 %t
+
+
+@interface F 
+-(int) bar;
+@end
+
+@implementation F
+-(int) bar {
+       return 42;
+}
+@end
+
+extern int f(F *fn) {
+       return [fn bar];
+}
+