summaryrefslogtreecommitdiff
path: root/Test/snapshots/Snapshots36.v0.bpl
diff options
context:
space:
mode:
authorGravatar Valentin Wüstholz <wuestholz@gmail.com>2015-06-12 01:26:06 +0200
committerGravatar Valentin Wüstholz <wuestholz@gmail.com>2015-06-12 01:27:21 +0200
commit0658816bbe2ea4be8785b52958a65b55c6a845a5 (patch)
treed56e6e10ffb25d178cdf9d2d49a4da5c3001f6ce /Test/snapshots/Snapshots36.v0.bpl
parentabd4a52488edea217b44419d43d4ca42abea9006 (diff)
Add a test case.
Diffstat (limited to 'Test/snapshots/Snapshots36.v0.bpl')
-rw-r--r--Test/snapshots/Snapshots36.v0.bpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/Test/snapshots/Snapshots36.v0.bpl b/Test/snapshots/Snapshots36.v0.bpl
new file mode 100644
index 00000000..9417af97
--- /dev/null
+++ b/Test/snapshots/Snapshots36.v0.bpl
@@ -0,0 +1,14 @@
+function {:checksum "2"} F() : bool
+{
+ true
+}
+
+procedure {:checksum "0"} P(b: bool);
+
+implementation {:id "P"} {:checksum "1"} P(p: bool)
+{
+ var l: [int]bool;
+
+ l := (lambda n: int :: F());
+ assert l[0];
+}