blob: eaaa9af4b46a906adf974665bd4b75fa09e9ff5b (
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;
}
|