diff options
author | mikebarnett <unknown> | 2009-07-15 21:03:41 +0000 |
---|---|---|
committer | mikebarnett <unknown> | 2009-07-15 21:03:41 +0000 |
commit | ce1c2de044c91624370411e23acab13b0381949b (patch) | |
tree | 592539996fe08050ead5ee210c973801611dde40 /Test/test20/ParallelAssignment2.bpl |
Initial set of files.
Diffstat (limited to 'Test/test20/ParallelAssignment2.bpl')
-rw-r--r-- | Test/test20/ParallelAssignment2.bpl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Test/test20/ParallelAssignment2.bpl b/Test/test20/ParallelAssignment2.bpl new file mode 100644 index 00000000..7d1f0daf --- /dev/null +++ b/Test/test20/ParallelAssignment2.bpl @@ -0,0 +1,11 @@ +// 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 |