summaryrefslogtreecommitdiff
path: root/Test
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
parent66d8663d16def735d8983f67aaffbf342e88a5f5 (diff)
parentb8fad094ad74180ca16670bebe602737d856b5da (diff)
Merge
Diffstat (limited to 'Test')
-rw-r--r--Test/dafny0/SmallTests.dfy.expect1
-rw-r--r--Test/dafny4/Bug103.dfy20
-rw-r--r--Test/dafny4/Bug103.dfy.expect2
3 files changed, 23 insertions, 0 deletions
diff --git a/Test/dafny0/SmallTests.dfy.expect b/Test/dafny0/SmallTests.dfy.expect
index 4bd12096..6161c3dd 100644
--- a/Test/dafny0/SmallTests.dfy.expect
+++ b/Test/dafny0/SmallTests.dfy.expect
@@ -1,3 +1,4 @@
+SmallTests.dfy(507,4): Warning: /!\ No trigger covering all quantified variables found.
SmallTests.dfy(34,10): Error: index out of range
Execution trace:
(0,0): anon0
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