summaryrefslogtreecommitdiff
path: root/Test/civl/nocollector.bpl
diff options
context:
space:
mode:
authorGravatar Shaz Qadeer <qadeer@microsoft.com>2015-09-02 20:14:00 -0700
committerGravatar Shaz Qadeer <qadeer@microsoft.com>2015-09-02 20:14:00 -0700
commitff02bddd8982e92d623b0342e7b079edfaa9b366 (patch)
tree75c561aeff75fbae9f5bc08b58698da6bd1f54c8 /Test/civl/nocollector.bpl
parent35332e25e899424ee1714eea8d451c79563154aa (diff)
fixed a crash when there is no collector
Diffstat (limited to 'Test/civl/nocollector.bpl')
-rw-r--r--Test/civl/nocollector.bpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/civl/nocollector.bpl b/Test/civl/nocollector.bpl
new file mode 100644
index 00000000..5a6f1e5d
--- /dev/null
+++ b/Test/civl/nocollector.bpl
@@ -0,0 +1,8 @@
+// RUN: %boogie -noinfer -useArrayTheory "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+var {:linear "L"} x:int;
+
+procedure{:yields}{:layer 1} P()
+{
+ yield;
+}