summaryrefslogtreecommitdiff
path: root/Test/dafny4/BinarySearch.dfy.expect
diff options
context:
space:
mode:
authorGravatar leino <unknown>2014-10-21 14:39:02 -0700
committerGravatar leino <unknown>2014-10-21 14:39:02 -0700
commite94dc5817a729ebdd6786deb17e1903974c8b981 (patch)
treea9fd620cd9af4447c59e4d20c7adc61c48864e04 /Test/dafny4/BinarySearch.dfy.expect
parente72bc10129c6cef993f40fba751ff22260410c21 (diff)
Fixed crash in inferred descreases clauses involving newtypes.
Added BinarySearch as a test case.
Diffstat (limited to 'Test/dafny4/BinarySearch.dfy.expect')
-rw-r--r--Test/dafny4/BinarySearch.dfy.expect9
1 files changed, 9 insertions, 0 deletions
diff --git a/Test/dafny4/BinarySearch.dfy.expect b/Test/dafny4/BinarySearch.dfy.expect
new file mode 100644
index 00000000..944f677a
--- /dev/null
+++ b/Test/dafny4/BinarySearch.dfy.expect
@@ -0,0 +1,9 @@
+BinarySearch.dfy(44,20): Error: result of operation might violate newtype constraint
+Execution trace:
+ (0,0): anon0
+ BinarySearch.dfy(40,3): anon18_LoopHead
+ (0,0): anon18_LoopBody
+ BinarySearch.dfy(40,3): anon19_Else
+ BinarySearch.dfy(40,3): anon23_Else
+
+Dafny program verifier finished with 6 verified, 1 error