summaryrefslogtreecommitdiff
path: root/Test/aitest1/Linear4.bpl
diff options
context:
space:
mode:
Diffstat (limited to 'Test/aitest1/Linear4.bpl')
-rw-r--r--Test/aitest1/Linear4.bpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/Test/aitest1/Linear4.bpl b/Test/aitest1/Linear4.bpl
new file mode 100644
index 00000000..c8c4605c
--- /dev/null
+++ b/Test/aitest1/Linear4.bpl
@@ -0,0 +1,15 @@
+// Simple test file for checking the inference of linear constraints.
+
+var x: int;
+var y: int;
+
+procedure p()
+ modifies x;
+{
+ A:
+ assume x < y;
+ goto B;
+ B:
+ x := x*x;
+ return;
+}