diff options
Diffstat (limited to 'Test/test20/ParallelAssignment2.bpl')
-rw-r--r-- | Test/test20/ParallelAssignment2.bpl | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Test/test20/ParallelAssignment2.bpl b/Test/test20/ParallelAssignment2.bpl index 8f309b75..df9e5655 100644 --- a/Test/test20/ParallelAssignment2.bpl +++ b/Test/test20/ParallelAssignment2.bpl @@ -1,13 +1,13 @@ -// RUN: %boogie -noVerify "%s" > "%t"
-// RUN: %diff "%s.expect" "%t"
-// Examples from the Boogie2 language report
-// (examples where already resolution fails)
-
-var x : int;
-var y : int;
-var a : [int]int;
-
-procedure P(i:int, j:int) returns () modifies x, y, a; {
- x, y := 1; // wrong number of rhss
- a[i], a[j] := a[j], a[i]; // variable assigned more than once
+// RUN: %boogie -noVerify "%s" > "%t" +// RUN: %diff "%s.expect" "%t" +// Examples from the Boogie2 language report +// (examples where already resolution fails) + +var x : int; +var y : int; +var a : [int]int; + +procedure P(i:int, j:int) returns () modifies x, y, a; { + x, y := 1; // wrong number of rhss + a[i], a[j] := a[j], a[i]; // variable assigned more than once }
\ No newline at end of file |