summaryrefslogtreecommitdiff
path: root/Test/dafny4/Regression1.dfy
diff options
context:
space:
mode:
Diffstat (limited to 'Test/dafny4/Regression1.dfy')
-rw-r--r--Test/dafny4/Regression1.dfy9
1 files changed, 9 insertions, 0 deletions
diff --git a/Test/dafny4/Regression1.dfy b/Test/dafny4/Regression1.dfy
new file mode 100644
index 00000000..ebd8cf6d
--- /dev/null
+++ b/Test/dafny4/Regression1.dfy
@@ -0,0 +1,9 @@
+// RUN: %dafny /compile:0 "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
+ghost method M() {
+ var x :=
+// In the following line, why are the range and term copied in Substitute?
+// var loo := 100; map y | 0 <= y < 100 :: y+1;
+ var loo := 100; imap y: int | true :: 3;
+}