diff options
Diffstat (limited to 'Test/linear/list.bpl')
-rw-r--r-- | Test/linear/list.bpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/linear/list.bpl b/Test/linear/list.bpl index f4badca9..b0caa9e1 100644 --- a/Test/linear/list.bpl +++ b/Test/linear/list.bpl @@ -2,6 +2,11 @@ type X; function {:builtin "MapConst"} MapConstBool(bool) : [X]bool;
function {:builtin "MapOr"} MapOr([X]bool, [X]bool) : [X]bool;
+function {:inline} {:linear "Mem"} MemCollector(xs: [X]bool) : [X]bool
+{
+ xs
+}
+
var head: X;
var tail: X;
var {:linear "Mem"} D: [X]bool;
|