diff options
author | qunyanm <unknown> | 2015-03-17 12:37:09 -0700 |
---|---|---|
committer | qunyanm <unknown> | 2015-03-17 12:37:09 -0700 |
commit | 2184631376ff382b8b63908929b16ddd97afdc90 (patch) | |
tree | fdd431adbefa1d56b8a71f8fa431a03fc9b01002 /Test/dafny4 | |
parent | eb3c12b3f4151d55e244f14eaefc02aaaeadc7c8 (diff) |
Fix issue #63. ForceSubstitutionOfQuantifiedVars for SetComprehesion.
Diffstat (limited to 'Test/dafny4')
-rw-r--r-- | Test/dafny4/Bug63.dfy | 13 | ||||
-rw-r--r-- | Test/dafny4/Bug63.dfy.expect | 2 |
2 files changed, 15 insertions, 0 deletions
diff --git a/Test/dafny4/Bug63.dfy b/Test/dafny4/Bug63.dfy new file mode 100644 index 00000000..86aad232 --- /dev/null +++ b/Test/dafny4/Bug63.dfy @@ -0,0 +1,13 @@ +// RUN: %dafny /compile:0 "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
+method M()
+ modifies set o: object | true
+{
+}
+
+method Client()
+{
+ assume forall o: object :: o != null ==> false;
+ M();
+}
\ No newline at end of file diff --git a/Test/dafny4/Bug63.dfy.expect b/Test/dafny4/Bug63.dfy.expect new file mode 100644 index 00000000..73ba063c --- /dev/null +++ b/Test/dafny4/Bug63.dfy.expect @@ -0,0 +1,2 @@ +
+Dafny program verifier finished with 4 verified, 0 errors
|