diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2015-06-28 01:44:30 +0100 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2015-06-28 01:44:30 +0100 |
commit | 962f8d5252b3f5ec4d19e0cd2a430934bd55cc6d (patch) | |
tree | 27d5f9b0d130c6c1a6758bc0b7456b0aa51e34e0 /Test/test0/AttributeResolution.bpl | |
parent | e11d65009d0b4ba1327f5f5dd6b26367330611f0 (diff) |
Normalise line endings using a .gitattributes file. Unfortunately
this required that this commit globally modify most files. If you
want to use git blame to see the real author of a line use the
``-w`` flag so that whitespace changes are ignored.
Diffstat (limited to 'Test/test0/AttributeResolution.bpl')
-rw-r--r-- | Test/test0/AttributeResolution.bpl | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/Test/test0/AttributeResolution.bpl b/Test/test0/AttributeResolution.bpl index e5094932..17d79727 100644 --- a/Test/test0/AttributeResolution.bpl +++ b/Test/test0/AttributeResolution.bpl @@ -1,40 +1,40 @@ -// RUN: %boogie -noVerify "%s" > "%t"
-// RUN: %diff "%s.expect" "%t"
-type {:sourcefile foo} T;
-
-function {:source bar} f(int) returns (int);
-
-const {:description baz} unique MAXINT: int;
-
-axiom {:naming qux} (forall i: int :: {f(ij)} f(i) == i+1);
-
-var {:description mux} $Heap: [ref, int]bool;
-
-var {:sort_of_like_a_trigger fux} Bla: [ref, int]bool;
-
-procedure {:use_impl bzzt} foo(x : int) returns(n : int);
-
-implementation {:id blt} foo(x : int) returns(n : int)
-{
- block1: return;
-}
-
-// ------ and here are various correct things
-
-
-
-const {:Correct hux0 + F(hux1)} hux0: int;
-
-function {:Correct F(hux0) + hux1} F(int) returns (int);
-
-axiom {:Correct F(hux0 + hux1)} true;
-
-var {:Correct hux0*hux1} hux1: int;
-
-procedure {:Correct hux0 - hux1} P();
-
-implementation {:Correct hux0 + hux1} {:AlsoCorrect "hello"} P()
-{
-}
-
-type ref;
+// RUN: %boogie -noVerify "%s" > "%t" +// RUN: %diff "%s.expect" "%t" +type {:sourcefile foo} T; + +function {:source bar} f(int) returns (int); + +const {:description baz} unique MAXINT: int; + +axiom {:naming qux} (forall i: int :: {f(ij)} f(i) == i+1); + +var {:description mux} $Heap: [ref, int]bool; + +var {:sort_of_like_a_trigger fux} Bla: [ref, int]bool; + +procedure {:use_impl bzzt} foo(x : int) returns(n : int); + +implementation {:id blt} foo(x : int) returns(n : int) +{ + block1: return; +} + +// ------ and here are various correct things + + + +const {:Correct hux0 + F(hux1)} hux0: int; + +function {:Correct F(hux0) + hux1} F(int) returns (int); + +axiom {:Correct F(hux0 + hux1)} true; + +var {:Correct hux0*hux1} hux1: int; + +procedure {:Correct hux0 - hux1} P(); + +implementation {:Correct hux0 + hux1} {:AlsoCorrect "hello"} P() +{ +} + +type ref; |