summaryrefslogtreecommitdiff
path: root/Test/dafny3/GenericSort.dfy
diff options
context:
space:
mode:
Diffstat (limited to 'Test/dafny3/GenericSort.dfy')
-rw-r--r--Test/dafny3/GenericSort.dfy3
1 files changed, 3 insertions, 0 deletions
diff --git a/Test/dafny3/GenericSort.dfy b/Test/dafny3/GenericSort.dfy
index 10589e5a..53d98bc2 100644
--- a/Test/dafny3/GenericSort.dfy
+++ b/Test/dafny3/GenericSort.dfy
@@ -1,3 +1,6 @@
+// RUN: %dafny /compile:0 /dprint:"%t.dprint" "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
abstract module TotalOrder {
type T // the type to be compared
static predicate method Leq(a: T, b: T) // Leq(a,b) iff a <= b