diff options
Diffstat (limited to 'Test/test21/Orderings2.bpl')
-rw-r--r-- | Test/test21/Orderings2.bpl | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/Test/test21/Orderings2.bpl b/Test/test21/Orderings2.bpl index 01d3be15..c475ca79 100644 --- a/Test/test21/Orderings2.bpl +++ b/Test/test21/Orderings2.bpl @@ -1,24 +1,24 @@ -// RUN: %boogie -typeEncoding:n -logPrefix:0n "%s" > "%t"
-// RUN: %diff "%s.n.expect" "%t"
-// RUN: %boogie -typeEncoding:p -logPrefix:0p "%s" > "%t"
-// RUN: %diff "%s.p.expect" "%t"
-// RUN: %boogie -typeEncoding:a -logPrefix:0a "%s" > "%t"
-// RUN: %diff "%s.a.expect" "%t"
-
-
-const b:int;
-const a:int extends b complete;
-
-const c:int extends a;
-const d:int extends a;
-
-procedure P() returns () {
- var x:int;
-
- assert c <: b && d <: a;
-
- assume x <: a && !(x <: c) && x != a;
- assert x <: d;
-
- assert b <: x; // should not be provable
+// RUN: %boogie -typeEncoding:n -logPrefix:0n "%s" > "%t" +// RUN: %diff "%s.n.expect" "%t" +// RUN: %boogie -typeEncoding:p -logPrefix:0p "%s" > "%t" +// RUN: %diff "%s.p.expect" "%t" +// RUN: %boogie -typeEncoding:a -logPrefix:0a "%s" > "%t" +// RUN: %diff "%s.a.expect" "%t" + + +const b:int; +const a:int extends b complete; + +const c:int extends a; +const d:int extends a; + +procedure P() returns () { + var x:int; + + assert c <: b && d <: a; + + assume x <: a && !(x <: c) && x != a; + assert x <: d; + + assert b <: x; // should not be provable }
\ No newline at end of file |