summaryrefslogtreecommitdiff
path: root/Test/aitest1/Linear1.bpl
blob: 855dacae747e6854976617ccd716da5b6b8e0d75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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;

procedure p()
{
  start:
    assume x*x == y;  // not a linear condition
    return;
}