diff options
author | mikebarnett <unknown> | 2009-07-15 21:03:41 +0000 |
---|---|---|
committer | mikebarnett <unknown> | 2009-07-15 21:03:41 +0000 |
commit | ce1c2de044c91624370411e23acab13b0381949b (patch) | |
tree | 592539996fe08050ead5ee210c973801611dde40 /Test/aitest1/Linear5.bpl |
Initial set of files.
Diffstat (limited to 'Test/aitest1/Linear5.bpl')
-rw-r--r-- | Test/aitest1/Linear5.bpl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Test/aitest1/Linear5.bpl b/Test/aitest1/Linear5.bpl new file mode 100644 index 00000000..4f04999c --- /dev/null +++ b/Test/aitest1/Linear5.bpl @@ -0,0 +1,21 @@ +// 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;
+ B:
+ assume x < y;
+ goto C;
+ C:
+ x := x*x;
+ goto D;
+ D:
+ x := y;
+ return;
+}
|