]> granicus.if.org Git - clang/commitdiff
test case for r118726.
authorDevang Patel <dpatel@apple.com>
Wed, 10 Nov 2010 22:19:57 +0000 (22:19 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 10 Nov 2010 22:19:57 +0000 (22:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118727 91177308-0d34-0410-b5e6-96231b3b80d8

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

diff --git a/test/CodeGenObjC/debug-info-fnname.m b/test/CodeGenObjC/debug-info-fnname.m
new file mode 100644 (file)
index 0000000..f336d6b
--- /dev/null
@@ -0,0 +1,15 @@
+// RUN: %clang_cc1 -emit-llvm -Os -g %s -o - | FileCheck %s
+// Radar 8653152
+@interface A {
+}
+@end
+
+
+// CHECK: llvm.dbg.lv.-.A.title.
+@implementation A
+-(int) title {
+  int x = 1;
+  return x;
+}
+@end
+