summaryrefslogtreecommitdiff
path: root/Test/og/linear-set2.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/linear-set2.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/linear-set2.bpl')
-rw-r--r--Test/og/linear-set2.bpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/og/linear-set2.bpl b/Test/og/linear-set2.bpl
index 93ede868..81d30521 100644
--- a/Test/og/linear-set2.bpl
+++ b/Test/og/linear-set2.bpl
@@ -20,8 +20,8 @@ function {:inline} {:linear "x"} XCollector(xs: [X]bool) : [X]bool
xs
}
-var {:layer 1} x: int;
-var {:layer 1} l: X;
+var {:layer 0,1} x: int;
+var {:layer 0,1} l: X;
const nil: X;
procedure Split({:linear_in "x"} xls: [X]bool) returns ({:linear "x"} xls1: [X]bool, {:linear "x"} xls2: [X]bool);