diff options
Diffstat (limited to 'Test/og/t1.bpl')
-rw-r--r-- | Test/og/t1.bpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/og/t1.bpl b/Test/og/t1.bpl index 28ae5b89..84ed3a35 100644 --- a/Test/og/t1.bpl +++ b/Test/og/t1.bpl @@ -12,7 +12,7 @@ ensures xls == mapconstbool(true); var g: int;
var h: int;
-procedure A({:linear "tid"} tid_in: int) returns ({:linear "tid"} tid_out: int)
+procedure {:yields} A({:linear "tid"} tid_in: int) returns ({:linear "tid"} tid_out: int)
{
var {:linear "1"} x: [int]bool;
var {:linear "2"} y: [int]bool;
@@ -45,7 +45,7 @@ procedure A({:linear "tid"} tid_in: int) returns ({:linear "tid"} tid_out: int) async call C(tid_child, y);
}
-procedure B({:linear "tid"} tid_in: int, {:linear "1"} x_in: [int]bool)
+procedure {:yields} {:stable} B({:linear "tid"} tid_in: int, {:linear "1"} x_in: [int]bool)
requires x_in != mapconstbool(false);
{
var {:linear "tid"} tid_out: int;
@@ -56,7 +56,7 @@ requires x_in != mapconstbool(false); g := 1;
}
-procedure C({:linear "tid"} tid_in: int, {:linear "2"} y_in: [int]bool)
+procedure {:yields} {:stable} C({:linear "tid"} tid_in: int, {:linear "2"} y_in: [int]bool)
requires y_in != mapconstbool(false);
{
var {:linear "tid"} tid_out: int;
|