summaryrefslogtreecommitdiff
path: root/Test/og/t1.bpl
diff options
context:
space:
mode:
authorGravatar qadeer <unknown>2013-08-07 16:57:02 -0700
committerGravatar qadeer <unknown>2013-08-07 16:57:02 -0700
commit2fd1db9218ebc55ad0f26c5f3faddcdf4eef2c85 (patch)
treeee58fbfdd972b0bdf5b5883e6c894da623fc1a60 /Test/og/t1.bpl
parenta9c60110139c15ec65c50360763c75014b9eef82 (diff)
cleaned up the OG code
enabled it to be always on
Diffstat (limited to 'Test/og/t1.bpl')
-rw-r--r--Test/og/t1.bpl6
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;