diff options
author | qadeer <unknown> | 2013-08-07 16:57:02 -0700 |
---|---|---|
committer | qadeer <unknown> | 2013-08-07 16:57:02 -0700 |
commit | 2fd1db9218ebc55ad0f26c5f3faddcdf4eef2c85 (patch) | |
tree | ee58fbfdd972b0bdf5b5883e6c894da623fc1a60 /Test/og/akash.bpl | |
parent | a9c60110139c15ec65c50360763c75014b9eef82 (diff) |
cleaned up the OG code
enabled it to be always on
Diffstat (limited to 'Test/og/akash.bpl')
-rw-r--r-- | Test/og/akash.bpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/og/akash.bpl b/Test/og/akash.bpl index f8c32022..eaa820b9 100644 --- a/Test/og/akash.bpl +++ b/Test/og/akash.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;
@@ -40,7 +40,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;
@@ -55,7 +55,7 @@ requires x_in != mapconstbool(false); g := 2;
}
-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;
|