summaryrefslogtreecommitdiff
path: root/Test/dafny0/Simple.dfy.expect
diff options
context:
space:
mode:
authorGravatar qunyanm <unknown>2015-03-05 12:04:37 -0800
committerGravatar qunyanm <unknown>2015-03-05 12:04:37 -0800
commitdb30cafd94527e73e969457c9c00e8c67300d7d4 (patch)
tree304827ba0d57583141f110b2834ae040b7453bb4 /Test/dafny0/Simple.dfy.expect
parentdbce023dbbbc2a73853c3d2b6251e85d4d627376 (diff)
Stop pretty-print from emitting deprecated semi-colons.
Diffstat (limited to 'Test/dafny0/Simple.dfy.expect')
-rw-r--r--Test/dafny0/Simple.dfy.expect20
1 files changed, 10 insertions, 10 deletions
diff --git a/Test/dafny0/Simple.dfy.expect b/Test/dafny0/Simple.dfy.expect
index aceb685a..1e6a4f11 100644
--- a/Test/dafny0/Simple.dfy.expect
+++ b/Test/dafny0/Simple.dfy.expect
@@ -1,18 +1,18 @@
// Simple.dfy
class MyClass<T, U> {
- var x: int;
+ var x: int
method M(s: bool, lotsaObjects: set<object>)
returns (t: object, u: set<int>, v: seq<MyClass<bool,U>>)
- requires s;
- modifies this, lotsaObjects;
- ensures t == t;
- ensures old(null) != this;
+ requires s
+ modifies this, lotsaObjects
+ ensures t == t
+ ensures old(null) != this
{
x := 12;
while x < 100
- invariant x <= 100;
+ invariant x <= 100
{
x := x + 17;
if x % 20 == 3 {
@@ -49,17 +49,17 @@ datatype List<T> = Nil | Cons(T, List<T>)
datatype WildData = Something | JustAboutAnything(bool, myName: set<int>, int, WildData) | More(List<int>)
class C {
- var w: WildData;
- var list: List<bool>;
+ var w: WildData
+ var list: List<bool>
}
lemma M(x: int)
- ensures x < 8;
+ ensures x < 8
{
}
colemma M'(x': int)
- ensures true;
+ ensures true
{
}