summaryrefslogtreecommitdiff
path: root/Test/dafny4
diff options
context:
space:
mode:
authorGravatar leino <unknown>2015-11-27 18:03:34 -0800
committerGravatar leino <unknown>2015-11-27 18:03:34 -0800
commit33ae6b4bf0dc3f2c80abbd3c26356f16ded3aaee (patch)
tree5754d8d56d31a14b20736a09227c4b253e9e2c4f /Test/dafny4
parent66d8663d16def735d8983f67aaffbf342e88a5f5 (diff)
parentb8fad094ad74180ca16670bebe602737d856b5da (diff)
Merge
Diffstat (limited to 'Test/dafny4')
-rw-r--r--Test/dafny4/Bug103.dfy20
-rw-r--r--Test/dafny4/Bug103.dfy.expect2
2 files changed, 22 insertions, 0 deletions
diff --git a/Test/dafny4/Bug103.dfy b/Test/dafny4/Bug103.dfy
new file mode 100644
index 00000000..559a361c
--- /dev/null
+++ b/Test/dafny4/Bug103.dfy
@@ -0,0 +1,20 @@
+// RUN: %dafny /compile:0 /autoTriggers:1 /print:"%t.print" "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
+predicate IsLessThanSuccesor(i:int)
+{
+ i < i + 1
+}
+
+lemma LemmaWithoutTriggerOnForallStatement()
+{
+ forall i
+ ensures IsLessThanSuccesor(i);
+ {
+ }
+}
+
+
+
+
+
diff --git a/Test/dafny4/Bug103.dfy.expect b/Test/dafny4/Bug103.dfy.expect
new file mode 100644
index 00000000..52595bf9
--- /dev/null
+++ b/Test/dafny4/Bug103.dfy.expect
@@ -0,0 +1,2 @@
+
+Dafny program verifier finished with 3 verified, 0 errors