diff options
Diffstat (limited to 'Test/aitest1/Linear5.bpl')
-rw-r--r-- | Test/aitest1/Linear5.bpl | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/Test/aitest1/Linear5.bpl b/Test/aitest1/Linear5.bpl index fdd961c3..693dc3cf 100644 --- a/Test/aitest1/Linear5.bpl +++ b/Test/aitest1/Linear5.bpl @@ -1,25 +1,25 @@ -// 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()
- modifies x;
-{
- A:
- assume -1 <= x;
- goto B, E;
- B:
- assume x < y;
- goto C, E;
- C:
- x := x*x;
- goto D, E;
- D:
- x := y;
- return;
- E:
- return;
-}
+// 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() + modifies x; +{ + A: + assume -1 <= x; + goto B, E; + B: + assume x < y; + goto C, E; + C: + x := x*x; + goto D, E; + D: + x := y; + return; + E: + return; +} |