diff options
| author | Devang Patel <dpatel@apple.com> | 2010-11-10 22:19:57 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2010-11-10 22:19:57 +0000 |
| commit | 82abab08123dab161f34070212ec872d7e1b071d (patch) | |
| tree | f7072f6428f1aa34ce2a68c1c253592ad2478b0a | |
| parent | 364bf042675882dbc039850a2d6124b5116521f0 (diff) | |
| download | bcm5719-llvm-82abab08123dab161f34070212ec872d7e1b071d.tar.gz bcm5719-llvm-82abab08123dab161f34070212ec872d7e1b071d.zip | |
test case for r118726.
llvm-svn: 118727
| -rw-r--r-- | clang/test/CodeGenObjC/debug-info-fnname.m | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/debug-info-fnname.m b/clang/test/CodeGenObjC/debug-info-fnname.m new file mode 100644 index 00000000000..f336d6b2687 --- /dev/null +++ b/clang/test/CodeGenObjC/debug-info-fnname.m @@ -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 + |

