summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/debug-info-line2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/debug-info-line2.c')
-rw-r--r--test/CodeGen/debug-info-line2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/debug-info-line2.c b/test/CodeGen/debug-info-line2.c
index b5eba8a..893b021 100644
--- a/test/CodeGen/debug-info-line2.c
+++ b/test/CodeGen/debug-info-line2.c
@@ -6,11 +6,12 @@ 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: add nsw
+ // CHECK-NEXT: store i32 %{{[a-zA-Z0-9]+}}
+ // CHECK-NOT: br label %{{[a-zA-Z0-9\.]+}}, !dbg
j = bar() + 2;
}
return j;
OpenPOWER on IntegriCloud