summaryrefslogtreecommitdiff
path: root/Test/dafny0/snapshots/Snapshots5.v1.dfy
blob: 05dbced08ad70c2a5d82f000fe4439cb4a1839a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
method M()
{
  N();
  if (*)
  {

  }
  else
  {
    assert (forall b: bool :: b || !b) || 0 != 0;
  }
  N();
  assert (forall b: bool :: b || !b) || 3 != 3;
  if (*)
  {

  }
  else
  {
    assert (exists b: bool :: b || !b) || 4 != 4;
  }
  assert (exists b: bool :: b || !b) || 5 != 5;
}


method N()
  ensures (forall b: bool :: b || !b) || 2 != 2;