summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/debug-info.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenObjC/debug-info.m')
-rw-r--r--clang/test/CodeGenObjC/debug-info.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/test/CodeGenObjC/debug-info.m b/clang/test/CodeGenObjC/debug-info.m
index 178e51cf273..c4b94261457 100644
--- a/clang/test/CodeGenObjC/debug-info.m
+++ b/clang/test/CodeGenObjC/debug-info.m
@@ -1,5 +1,8 @@
// RUN: clang-cc -triple i386-apple-darwin9 -g -emit-llvm -o %t %s &&
-// RUN: grep -F 'internal constant [8 x i8] c"-[A m0]\00"' %t
+// RUN: grep '@.str3 = internal constant \[8 x i8\] c"-\[A m0\]\\00"' %t &&
+// RUN: grep '@.str4 = internal constant \[9 x i8\] c"\\01-\[A m0\]\\00"' %t &&
+// RUN: grep '@llvm.dbg.subprogram = .* @.str3, .* @.str3, .* @.str4,' %t &&
+// RUN: true
@interface A @end
@implementation A
OpenPOWER on IntegriCloud