blob: 02499c31abde8edc265186726bee2294634b8251 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// RUN: %boogie /printModel:4 "%s" > "%t"
// RUN: %diff "%s.expect" "%t"
procedure test0()
{
var x: int;
assume x < 42;
assume {:maximize x} true;
assert (exists y: int :: y < x);
}
procedure test1()
{
var x: int;
assume x < 42;
assume {:maximize x} true;
assert (forall y: int :: y < x);
}
|