Author: echristo
Date: Tue Jul 17 16:52:07 2012
New Revision: 160399
URL: http://llvm.org/viewvc/llvm-project?rev=160399&view=rev
Log:
Robustify test in the face of no assertions.
Modified:
cfe/trunk/test/CodeGen/debug-info-line2.c
Modified: cfe/trunk/test/CodeGen/debug-info-line2.c
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/debug-info-line2.c?rev=160399&r1=160398&r2=160399&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/debug-info-line2.c (original)
+++ cfe/trunk/test/CodeGen/debug-info-line2.c Tue Jul 17 16:52:07 2012
@@ -9,8 +9,9 @@
}
else
{
-//CHECK: store i32 %add
-//CHECK-NOT: br label %{{[a-zA-Z0-9\.]+}}, !dbg
+ // 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;
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits