summaryrefslogtreecommitdiff
path: root/Test/commandline/multiple_procs_verify_one.bpl
blob: 5eaef4b1764bd9708d6fa17ae3dba85a90c5cdbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// RUN: %boogie -proc:foo "%s" > "%t"
// RUN: %OutputCheck --file-to-check "%t" "%s"
// CHECK-L: Boogie program verifier finished with 1 verified, 0 errors

// Only this procedure should be verified, the others should be ignored
procedure foo()
{
    assume true;
}

// An old version of Boogie just checked if the name passed to ``-proc:``
// occurs somewhere in procedure name which would cause it to try and also
// verify the procedures below.
procedure foo2()
{
    assert false;
}

procedure function_foo()
{
    assert false;
}