diff options
Diffstat (limited to 'Test/linear/allocator.bpl')
-rw-r--r-- | Test/linear/allocator.bpl | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Test/linear/allocator.bpl b/Test/linear/allocator.bpl index 147d700f..fcd79b26 100644 --- a/Test/linear/allocator.bpl +++ b/Test/linear/allocator.bpl @@ -1,12 +1,12 @@ -// RUN: %boogie -noinfer -typeEncoding:m -useArrayTheory -doModSetAnalysis "%s" > "%t"
-// RUN: %diff "%s.expect" "%t"
-procedure A({:linear_in "tid"} i': int) returns ({:linear "tid"} i: int);
- ensures i == i';
-
-procedure B({:linear_in "tid"} i': int) returns ({:linear "tid"} i: int)
-{
- i := i';
- call i := A(i);
- assert false;
-}
-
+// RUN: %boogie -noinfer -typeEncoding:m -useArrayTheory -doModSetAnalysis "%s" > "%t" +// RUN: %diff "%s.expect" "%t" +procedure A({:linear_in "tid"} i': int) returns ({:linear "tid"} i: int); + ensures i == i'; + +procedure B({:linear_in "tid"} i': int) returns ({:linear "tid"} i: int) +{ + i := i'; + call i := A(i); + assert false; +} + |