summaryrefslogtreecommitdiff
path: root/test/regress/regress0/sygus/no-syntax-test-no-si.sy
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2015-05-11 20:06:21 +0200
committerajreynol <andrew.j.reynolds@gmail.com>2015-05-11 20:06:21 +0200
commit54f1d00d5475710ec5a4c3eab82d786ba95dfdde (patch)
tree547bd29a009a3d119a26b2ddcd509a3ef2e5d061 /test/regress/regress0/sygus/no-syntax-test-no-si.sy
parent870b29b0cce85941ed72d7e0ca75b61b0cfcf711 (diff)
Allow sygus with no syntactic restrictions for LIA. Add regressions.
Diffstat (limited to 'test/regress/regress0/sygus/no-syntax-test-no-si.sy')
-rw-r--r--test/regress/regress0/sygus/no-syntax-test-no-si.sy14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/regress/regress0/sygus/no-syntax-test-no-si.sy b/test/regress/regress0/sygus/no-syntax-test-no-si.sy
new file mode 100644
index 000000000..21788426c
--- /dev/null
+++ b/test/regress/regress0/sygus/no-syntax-test-no-si.sy
@@ -0,0 +1,14 @@
+; EXPECT: unsat
+; COMMAND-LINE: --cegqi
+
+(set-logic LIA)
+
+(synth-fun f ((x Int) (y Int)) Int)
+
+(declare-var x Int)
+(declare-var y Int)
+
+(constraint (= (f x y) (+ (f x x) (f y y) x 1)))
+
+(check-synth)
+
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback