summaryrefslogtreecommitdiff
path: root/Test/prover/z3mutl.bpl
blob: 84b82ed6b3ee295bc1865f0d7c5a99fabb22ea6f (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);

}