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 | 3473a10ee6ba13ebba7b71f31b244afb94917a86 (patch) | |
tree | 776d4370697071124d150f2750aa34aa5adea752 | |
parent | e86d78cf4754a6aef2cf9a33d847aa15338e276f (diff) |
test case for r118726.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118727 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGenObjC/debug-info-fnname.m | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/CodeGenObjC/debug-info-fnname.m b/test/CodeGenObjC/debug-info-fnname.m new file mode 100644 index 0000000000..f336d6b268 --- /dev/null +++ b/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 + |