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