diff options
author | 2015-11-11 17:36:58 -0800 | |
---|---|---|
committer | 2015-11-11 17:36:58 -0800 | |
commit | cfd717411a1d82e4d0b1ad845cbe0984ecc1618f (patch) | |
tree | b580a8dcd73cfefbb24d7b5c13102c82b59165f1 /Test/dafny4/Bug101.dfy | |
parent | 7cc9a11d13a1d43d6e7beb4f874bb086f73804c4 (diff) | |
parent | 324c2f4bf8842cce7922e7ff7972216dfc06546f (diff) |
Merge
Diffstat (limited to 'Test/dafny4/Bug101.dfy')
-rw-r--r-- | Test/dafny4/Bug101.dfy | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Test/dafny4/Bug101.dfy b/Test/dafny4/Bug101.dfy new file mode 100644 index 00000000..878ed57a --- /dev/null +++ b/Test/dafny4/Bug101.dfy @@ -0,0 +1,19 @@ +// RUN: %dafny /compile:0 "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
+predicate P(i:int) { true }
+
+lemma Tester()
+{
+// forall i ensures false ==> P(i) {}
+ forall i ensures P(i) <== false {}
+ assert forall i :: P(i) ==> false;
+ assert P(0);
+ assert false;
+}
+
+
+
+
+
+
|