diff options
Diffstat (limited to 'Test/dafny4/Bug82.dfy')
-rw-r--r-- | Test/dafny4/Bug82.dfy | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Test/dafny4/Bug82.dfy b/Test/dafny4/Bug82.dfy new file mode 100644 index 00000000..bc7ff321 --- /dev/null +++ b/Test/dafny4/Bug82.dfy @@ -0,0 +1,11 @@ +// RUN: %dafny /compile:0 "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
+function {:opaque} Reverse(id:int) : int
+
+function RefineToMap(ReverseKey:int->int) : bool
+
+function RefineToMapOfSeqNums() : bool
+{
+ RefineToMap(Reverse)
+}
|