diff options
author | qadeer <unknown> | 2014-02-07 15:18:39 -0800 |
---|---|---|
committer | qadeer <unknown> | 2014-02-07 15:18:39 -0800 |
commit | de9be69954d167a71c74ff68dd27e8cc96ba9c12 (patch) | |
tree | aee587de099489d41f4dfe74912e854f25b0df4d /Test/og/new1.bpl | |
parent | 9a8cb7e40a8bde05f53e616a9b47f06fe57bcaed (diff) |
new design for linear types + VCgen
ported all the examples
added the QED examples to runtest.bat
Diffstat (limited to 'Test/og/new1.bpl')
-rw-r--r-- | Test/og/new1.bpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Test/og/new1.bpl b/Test/og/new1.bpl index 6ebb9cf1..64144ae9 100644 --- a/Test/og/new1.bpl +++ b/Test/og/new1.bpl @@ -2,6 +2,12 @@ function {:builtin "MapConst"} mapconstbool(x:bool): [int]bool; var g:int;
+function {:inline} {:linear "Perm"} SetCollectorPerm(x: [int]bool) : [int]bool
+{
+ x
+}
+
+
var {:linear "Perm"} Permissions: [int]bool;
procedure Allocate_Perm() returns ({:linear "Perm"} xls: [int]bool);
|