summaryrefslogtreecommitdiff
path: root/Test/og/t1.bpl
diff options
context:
space:
mode:
authorGravatar qadeer <unknown>2014-12-15 11:33:23 -0800
committerGravatar qadeer <unknown>2014-12-15 11:33:23 -0800
commit41c1ea3efbbf1b5d7758ab334ab456462300f555 (patch)
treeed21768d494420a36f0d1e5d2d062dbead813c1a /Test/og/t1.bpl
parenta7f872a71b1be2b9677add91c8366ee27e345856 (diff)
1. made variable introduction layer explicit in the test cases
2. if a single layer is specified for a global variable, that layer is the introduction layer
Diffstat (limited to 'Test/og/t1.bpl')
-rw-r--r--Test/og/t1.bpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/og/t1.bpl b/Test/og/t1.bpl
index 305f1ed1..b2f02bda 100644
--- a/Test/og/t1.bpl
+++ b/Test/og/t1.bpl
@@ -27,8 +27,8 @@ ensures {:layer 1} xls == mapconstbool(true);
procedure Allocate_2() returns ({:linear "2"} xls: [int]bool);
ensures {:layer 1} xls == mapconstbool(true);
-var {:layer 1} g: int;
-var {:layer 1} h: int;
+var {:layer 0,1} g: int;
+var {:layer 0,1} h: int;
procedure {:yields} {:layer 0,1} SetG(val:int);
ensures {:atomic} |{A: g := val; return true; }|;