summaryrefslogtreecommitdiff
path: root/Test/dafny0/Modules2.dfy
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2014-05-29 21:41:00 +0200
committerGravatar wuestholz <unknown>2014-05-29 21:41:00 +0200
commit607ef28aadb281ab61a2be493a637126e967a388 (patch)
treeaae16c049c860e443920f9c6ee31af4e35f8a800 /Test/dafny0/Modules2.dfy
parentdc0a9130355352d0f47e07232d8119fc7219ccbc (diff)
Set up the same test infrastructure as in Boogie.
Diffstat (limited to 'Test/dafny0/Modules2.dfy')
-rw-r--r--Test/dafny0/Modules2.dfy4
1 files changed, 3 insertions, 1 deletions
diff --git a/Test/dafny0/Modules2.dfy b/Test/dafny0/Modules2.dfy
index 2a5b2be7..8b2ff570 100644
--- a/Test/dafny0/Modules2.dfy
+++ b/Test/dafny0/Modules2.dfy
@@ -1,3 +1,5 @@
+// RUN: %dafny /compile:0 /print:"%t.print" /dprint:"%t.dprint" "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
module A {
class C {
@@ -54,4 +56,4 @@ module Test3 {
module Test4 {
import A = A; // good: looks strange, but A is not bound on the RHS of the equality
import B; // the same as the above, but for module B
-} \ No newline at end of file
+}