aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-07-17 18:40:46 +0000
committerEric Christopher <echristo@apple.com>2012-07-17 18:40:46 +0000
commit74976f231130b843f555a8f73df18ffb4d89639e (patch)
tree4d644868b222eb54f7f3e4a03dbc73fca5bbdbc4
parent659a7124c7069b3e01dd171f7290562f58f9e97a (diff)
Fix regexp for this test to properly check.
Patch by Eli Bendersky. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160385 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/debug-info-line2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/debug-info-line2.c b/test/CodeGen/debug-info-line2.c
index b5eba8a1a0..9da6aa87dd 100644
--- a/test/CodeGen/debug-info-line2.c
+++ b/test/CodeGen/debug-info-line2.c
@@ -6,11 +6,11 @@ int foo(int i) {
int j = 0;
if (i) {
j = bar();
-//CHECK: store i32
-//CHECK-NOT: br label %{{%[a-zA-Z0-9\.]+}}, !dbg
}
else
{
+//CHECK: store i32 %add
+//CHECK-NOT: br label %{{[a-zA-Z0-9\.]+}}, !dbg
j = bar() + 2;
}
return j;