summaryrefslogtreecommitdiff
path: root/Test
diff options
context:
space:
mode:
authorGravatar qadeer <unknown>2013-12-22 00:34:35 -0800
committerGravatar qadeer <unknown>2013-12-22 00:34:35 -0800
commit9decee118ad579769bea68c2542162b1aed7d440 (patch)
treeb88316f3b7a1213e10fe67a18c73c5a9f27f4031 /Test
parentca02664886e23e4d26e9a19b07c51b82de9d9e4f (diff)
bug fixes in Duplicate.cs and parsing of invariant attributes
other bug fixes in QED stuff
Diffstat (limited to 'Test')
-rw-r--r--Test/og/Answer14
-rw-r--r--Test/og/ticket.bpl2
2 files changed, 9 insertions, 7 deletions
diff --git a/Test/og/Answer b/Test/og/Answer
index 8397d051..54ceb547 100644
--- a/Test/og/Answer
+++ b/Test/og/Answer
@@ -3,7 +3,7 @@
foo.bpl(14,3): Error BP5001: This assertion might not hold.
Execution trace:
foo.bpl(6,5): anon0
- (0,0): inline$Impl_YieldChecker_PC$0$L0
+ (0,0): inline$Impl_YieldChecker_PC_2147483647_2147483647$0$L0
Boogie program verifier finished with 4 verified, 1 error
@@ -11,11 +11,11 @@ Boogie program verifier finished with 4 verified, 1 error
bar.bpl(13,3): Error BP5001: This assertion might not hold.
Execution trace:
bar.bpl(6,5): anon0
- (0,0): inline$Impl_YieldChecker_PC$0$L0
+ (0,0): inline$Impl_YieldChecker_PC_2147483647_2147483647$0$L0
bar.bpl(13,3): Error BP5001: This assertion might not hold.
Execution trace:
bar.bpl(23,5): anon0
- (0,0): inline$Impl_YieldChecker_PC$0$L0
+ (0,0): inline$Impl_YieldChecker_PC_2147483647_2147483647$0$L0
Boogie program verifier finished with 3 verified, 2 errors
@@ -27,11 +27,11 @@ Boogie program verifier finished with 2 verified, 0 errors
parallel1.bpl(10,1): Error BP5001: This assertion might not hold.
Execution trace:
parallel1.bpl(6,5): anon0
- (0,0): inline$Proc_YieldChecker_PC$0$L0
+ (0,0): inline$Proc_YieldChecker_PC_2147483647_2147483647$0$L0
parallel1.bpl(14,3): Error BP5001: This assertion might not hold.
Execution trace:
parallel1.bpl(6,5): anon0
- (0,0): inline$Impl_YieldChecker_PC$0$L0
+ (0,0): inline$Impl_YieldChecker_PC_2147483647_2147483647$0$L0
Boogie program verifier finished with 3 verified, 2 errors
@@ -75,7 +75,7 @@ Boogie program verifier finished with 3 verified, 0 errors
t1.bpl(35,5): Error BP5001: This assertion might not hold.
Execution trace:
(0,0): og_init
- (0,0): inline$Impl_YieldChecker_A$0$L1
+ (0,0): inline$Impl_YieldChecker_A_2147483647_2147483647$0$L1
Boogie program verifier finished with 2 verified, 1 error
@@ -92,6 +92,6 @@ async.bpl(14,1): Error BP5001: This assertion might not hold.
Execution trace:
async.bpl(7,3): anon0
async.bpl(7,3): anon0$1
- (0,0): inline$Proc_YieldChecker_P$1$L0
+ (0,0): inline$Proc_YieldChecker_P_2147483647_2147483647$1$L0
Boogie program verifier finished with 1 verified, 1 error
diff --git a/Test/og/ticket.bpl b/Test/og/ticket.bpl
index 9f467229..b628df30 100644
--- a/Test/og/ticket.bpl
+++ b/Test/og/ticket.bpl
@@ -1,5 +1,7 @@
function RightOpen(n: int) : [int]bool;
function RightClosed(n: int) : [int]bool;
+axiom (forall x: int, y: int :: RightOpen(x)[y] <==> y < x);
+axiom (forall x: int, y: int :: RightClosed(x)[y] <==> y <= x);
type X;
function {:builtin "MapConst"} mapconstbool(bool): [X]bool;