summaryrefslogtreecommitdiff
path: root/Test/linear/typecheck.bpl
diff options
context:
space:
mode:
Diffstat (limited to 'Test/linear/typecheck.bpl')
-rw-r--r--Test/linear/typecheck.bpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/Test/linear/typecheck.bpl b/Test/linear/typecheck.bpl
index 057718cf..57080cb8 100644
--- a/Test/linear/typecheck.bpl
+++ b/Test/linear/typecheck.bpl
@@ -22,7 +22,7 @@ procedure C()
function f(X): X;
-procedure {:yields} {:phase 1} D()
+procedure {:yields} {:layer 1} D()
{
var {:linear "D"} a: X;
var {:linear "D"} x: X;
@@ -70,7 +70,7 @@ procedure E({:linear_in "D"} a: X, {:linear_in "D"} b: X) returns ({:linear "D"}
c := a;
}
-procedure {:yields} {:phase 0} F({:linear_in "D"} a: X) returns ({:linear "D"} c: X);
+procedure {:yields} {:layer 0} F({:linear_in "D"} a: X) returns ({:linear "D"} c: X);
var {:linear "x"} g:int;
@@ -85,16 +85,16 @@ modifies g;
g := r;
}
-procedure {:yields} {:phase 0} I({:linear_in ""} x:int) returns({:linear ""} x':int)
+procedure {:yields} {:layer 0} I({:linear_in ""} x:int) returns({:linear ""} x':int)
{
x' := x;
}
-procedure {:yields} {:phase 0} J()
+procedure {:yields} {:layer 0} J()
{
}
-procedure {:yields} {:phase 1} P1({:linear_in ""} x:int) returns({:linear ""} x':int)
+procedure {:yields} {:layer 1} P1({:linear_in ""} x:int) returns({:linear ""} x':int)
{
yield;
par x' := I(x) | J();
@@ -103,7 +103,7 @@ procedure {:yields} {:phase 1} P1({:linear_in ""} x:int) returns({:linear ""} x'
yield;
}
-procedure {:yields} {:phase 1} P2({:linear_in ""} x:int) returns({:linear ""} x':int)
+procedure {:yields} {:layer 1} P2({:linear_in ""} x:int) returns({:linear ""} x':int)
{
yield;
call x' := I(x);