summaryrefslogtreecommitdiff
path: root/Test/aitest1/Linear7.bpl
blob: 45ef3e79533591df1f1a99d44cf167aea5e03bff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// RUN: %boogie -infer:j -instrumentInfer:e -printInstrumented -noVerify "%s" > "%t"
// RUN: %diff "%s.expect" "%t"
// Simple test file for checking the inference of linear constraints.

var x: int;
var y: int;
var z: int;

procedure p()
{
A:
    goto B, C;
B:
    assume x <= 0;
    goto D;
C:
    assume y <= 0;
    goto D;
D:
    return;
}