diff options
Diffstat (limited to 'Test/test1/Frame0.bpl')
-rw-r--r-- | Test/test1/Frame0.bpl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Test/test1/Frame0.bpl b/Test/test1/Frame0.bpl new file mode 100644 index 00000000..02a5af46 --- /dev/null +++ b/Test/test1/Frame0.bpl @@ -0,0 +1,15 @@ +var g0: int;
+var g1: int;
+
+var h0: [ref, name]any;
+var h1: [ref, name]any;
+
+const X: name;
+
+procedure P(a: ref, hh: [ref, name]any) returns (b: int, hout: [ref, name]any);
+ modifies a; // in-parameters are not mutable
+ modifies h1, g0;
+ modifies b; // out-parameters are not allowed explicitly in modifies clause
+
+
+type ref, name, any;
|