summaryrefslogtreecommitdiff
path: root/Test/dafny0/snapshots/Inputs/Snapshots5.v1.dfy
blob: 7b207d74e3f8c476e3e49d1a0259e90f5f4fbaad (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 :: true) || 4 != 4;
  }
  assert (exists b: bool :: true) || 5 != 5;
}


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