summaryrefslogtreecommitdiff
path: root/Test/test1/StatementIds0.bpl
blob: abf26159ec509c893dd0b675131ab96d7fc1f4f8 (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
// RUN: %boogie -noVerify "%s" > "%t"
// RUN: %diff "%s.expect" "%t"

procedure test0(n: int)
{
    assume {:id "s0"} true;
    assert {:id "s0"} true;
}

procedure test1()
{
    call {:id "s0"} P();
}

procedure test2(n: int)
{
    while (*)
      invariant {:id "s0"} true;
      invariant {:id "s0"} true;
    {
    }
}

procedure P();