summaryrefslogtreecommitdiff
path: root/Test/snapshots/Snapshots24.v1.bpl
blob: 382dc6dce0ce8845fd78096523573e1c32bbe34c (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
procedure {:checksum "0"} M();

implementation {:id "M"} {:checksum "2"} M()
{
    if (*)
    {
        assert {:subsumption 0} 1 == 1;
    }
    else if (*)
    {
        assert {:subsumption 1} 5 == 5;
    }
    else if (*)
    {
        assert {:subsumption 2} 6 != 6;  // error
    }
    else
    {
        assert {:subsumption 1} 2 == 2;
        assert {:subsumption 2} 4 == 4;
        assert 5 == 5;
    }

    assert {:subsumption 0} 3 == 3;
}