summaryrefslogtreecommitdiff
path: root/Test/dafny0/snapshots/Snapshots7.v1.dfy
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2014-07-15 12:56:56 +0200
committerGravatar wuestholz <unknown>2014-07-15 12:56:56 +0200
commit3d81de6e45e1a82931cd09442cb88458c86094e8 (patch)
tree7c5009e1ca82f8341cc9240cea9b16f7dd7617cb /Test/dafny0/snapshots/Snapshots7.v1.dfy
parent264ce2c58b81f478fc0a42e03423252fdc5a1258 (diff)
Added more tests.
Diffstat (limited to 'Test/dafny0/snapshots/Snapshots7.v1.dfy')
-rw-r--r--Test/dafny0/snapshots/Snapshots7.v1.dfy22
1 files changed, 22 insertions, 0 deletions
diff --git a/Test/dafny0/snapshots/Snapshots7.v1.dfy b/Test/dafny0/snapshots/Snapshots7.v1.dfy
new file mode 100644
index 00000000..b45dfe78
--- /dev/null
+++ b/Test/dafny0/snapshots/Snapshots7.v1.dfy
@@ -0,0 +1,22 @@
+module M0
+{
+ class C
+ {
+ method Foo()
+ requires true;
+ {
+ }
+ }
+}
+
+
+module M1 refines M0
+{
+ class C
+ {
+ method Foo...
+ {
+ assert false;
+ }
+ }
+}