summaryrefslogtreecommitdiff
path: root/Test/linear/typecheck.bpl
diff options
context:
space:
mode:
authorGravatar qadeer <unknown>2013-12-16 12:32:55 -0800
committerGravatar qadeer <unknown>2013-12-16 12:32:55 -0800
commit67734e425160c5e10734bbb39ba8855f77f01b8c (patch)
tree313a3b9cb8e1c882500d5b2d36b4a8d0b1346343 /Test/linear/typecheck.bpl
parent9b038216fd54d8a544db6425982f5f2cfefc29e8 (diff)
added syntax for par call and ParCallCmd
Diffstat (limited to 'Test/linear/typecheck.bpl')
-rw-r--r--Test/linear/typecheck.bpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/linear/typecheck.bpl b/Test/linear/typecheck.bpl
index 973a1c88..187b3ff8 100644
--- a/Test/linear/typecheck.bpl
+++ b/Test/linear/typecheck.bpl
@@ -58,7 +58,7 @@ procedure {:yields} D()
call c, x := E(a, x);
- call a := F(a) | x := F(a);
+ par a := F(a) | x := F(a);
}
procedure E({:linear "D"} a: X, {:linear "D"} b: X) returns ({:linear "D"} c: X, {:linear "D"} d: X)
@@ -92,12 +92,12 @@ procedure {:yields} {:stable} J()
procedure {:yields} P1({:linear ""} x:int) returns({:linear ""} x':int)
{
- call x' := I(x) | J();
+ par x' := I(x) | J();
call x' := I(x');
}
procedure {:yields} P2({:linear ""} x:int) returns({:linear ""} x':int)
{
call x' := I(x);
- call x' := I(x') | J();
+ par x' := I(x') | J();
}