summaryrefslogtreecommitdiff
path: root/Test/dafny0/Modules1.dfy
diff options
context:
space:
mode:
Diffstat (limited to 'Test/dafny0/Modules1.dfy')
-rw-r--r--Test/dafny0/Modules1.dfy5
1 files changed, 1 insertions, 4 deletions
diff --git a/Test/dafny0/Modules1.dfy b/Test/dafny0/Modules1.dfy
index ff84b84b..ad17c7d8 100644
--- a/Test/dafny0/Modules1.dfy
+++ b/Test/dafny0/Modules1.dfy
@@ -5,10 +5,7 @@ module A imports B {
decreases 5, 4, 3;
{ z.G() } // fine; this goes to a different module
}
- datatype Y {
- Cons(int, Y);
- Empty;
- }
+ datatype Y = Cons(int, Y) | Empty;
}
class C {