summaryrefslogtreecommitdiff
path: root/Test/prover/z3mutl.bpl
blob: f42f7bb4146b8547265eff6e8166be4db12b7716 (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 -typeEncoding:m -z3multipleErrors "%s" > "%t"
// RUN: %diff "%s.expect" "%t"
var x:int;

procedure Foo(){

start:

    goto L1, L2, L3, L4;
L1: assume x == 1;
    goto L5;

L2: assume x == 2;
    goto L5;

L3: assume x == 3;
    goto L5;

L4: assume x > 10;
    goto L5;

L5: assert (x > 4);

}