diff options
author | Valentin Wüstholz <wuestholz@gmail.com> | 2015-06-12 01:26:06 +0200 |
---|---|---|
committer | Valentin Wüstholz <wuestholz@gmail.com> | 2015-06-12 01:27:21 +0200 |
commit | 0658816bbe2ea4be8785b52958a65b55c6a845a5 (patch) | |
tree | d56e6e10ffb25d178cdf9d2d49a4da5c3001f6ce /Test/snapshots/Snapshots36.v0.bpl | |
parent | abd4a52488edea217b44419d43d4ca42abea9006 (diff) |
Add a test case.
Diffstat (limited to 'Test/snapshots/Snapshots36.v0.bpl')
-rw-r--r-- | Test/snapshots/Snapshots36.v0.bpl | 14 |
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];
+}
|