summaryrefslogtreecommitdiff
path: root/Test/irondafny0/xrefine0.dfy
diff options
context:
space:
mode:
authorGravatar Michael Lowell Roberts <mirobert@microsoft.com>2015-07-08 11:01:11 -0700
committerGravatar Michael Lowell Roberts <mirobert@microsoft.com>2015-07-08 11:01:11 -0700
commitfad74b96e5d9367960358b1c4cc9c2cce79e961a (patch)
tree805771f13c38cc2206ee9f6d6226651db5b61573 /Test/irondafny0/xrefine0.dfy
parent85d4456ccf1e1d8c456dffa012d3f3d724f50a4a (diff)
added unit tests for exclusive refinement.
Diffstat (limited to 'Test/irondafny0/xrefine0.dfy')
-rw-r--r--Test/irondafny0/xrefine0.dfy6
1 files changed, 6 insertions, 0 deletions
diff --git a/Test/irondafny0/xrefine0.dfy b/Test/irondafny0/xrefine0.dfy
new file mode 100644
index 00000000..35993ce8
--- /dev/null
+++ b/Test/irondafny0/xrefine0.dfy
@@ -0,0 +1,6 @@
+// RUN: %dafny /compile:0 /print:"%t.print" /dprint:"%t.dprint" "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
+abstract module Delicious {}
+module Chocolate exclusively refines Delicious {}
+module Strawberry exclusively refines Delicious {}