summaryrefslogtreecommitdiff
path: root/test/regress/regress0/sygus
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2015-06-11 15:03:52 +0200
committerajreynol <andrew.j.reynolds@gmail.com>2015-06-11 15:03:52 +0200
commitf1f79835adeac5c22fb744c38a83fef01d0002ad (patch)
treed6f69c1426ee36f8aeba5fbd0a92a008c4f68d7f /test/regress/regress0/sygus
parent5ad9f1e8a19d9658a86203fe2db8ad9fb329cd8e (diff)
Update experimental scripts. Support top-level non-terminals in sygus grammars. Allow -N in sygus terms. Minor bug fix in datatypes_sygus. Add regression.
Diffstat (limited to 'test/regress/regress0/sygus')
-rw-r--r--test/regress/regress0/sygus/Makefile.am3
-rw-r--r--test/regress/regress0/sygus/tl-type.sy11
2 files changed, 13 insertions, 1 deletions
diff --git a/test/regress/regress0/sygus/Makefile.am b/test/regress/regress0/sygus/Makefile.am
index dc6a1e0d1..abf51d992 100644
--- a/test/regress/regress0/sygus/Makefile.am
+++ b/test/regress/regress0/sygus/Makefile.am
@@ -35,7 +35,8 @@ TESTS = commutative.sy \
no-flat-simp.sy \
twolets2-orig.sy \
let-ringer.sy \
- let-simp.sy
+ let-simp.sy \
+ tl-type.sy
# sygus tests currently taking too long for make regress
EXTRA_DIST = $(TESTS) \
diff --git a/test/regress/regress0/sygus/tl-type.sy b/test/regress/regress0/sygus/tl-type.sy
new file mode 100644
index 000000000..a8da13742
--- /dev/null
+++ b/test/regress/regress0/sygus/tl-type.sy
@@ -0,0 +1,11 @@
+; EXPECT: unsat
+; COMMAND-LINE: --cegqi --no-cegqi-si
+(set-logic LIA)
+(synth-fun f ((x Int)) Int
+ ((Start Int (Term (+ Start Start)))
+ (Term Int (x 0))))
+
+(declare-var x Int)
+(constraint (= (f x) (* 3 x)))
+(check-synth)
+
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback