diff options
Diffstat (limited to 'test/CodeGenObjC/debug-info-fnname.m')
-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 0000000..f336d6b --- /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 + |