summaryrefslogtreecommitdiff
path: root/Test/aitest1/Linear7.bpl
diff options
context:
space:
mode:
Diffstat (limited to 'Test/aitest1/Linear7.bpl')
-rw-r--r--Test/aitest1/Linear7.bpl19
1 files changed, 19 insertions, 0 deletions
diff --git a/Test/aitest1/Linear7.bpl b/Test/aitest1/Linear7.bpl
new file mode 100644
index 00000000..b1bcaaaf
--- /dev/null
+++ b/Test/aitest1/Linear7.bpl
@@ -0,0 +1,19 @@
+// 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;
+}