summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2015-11-25 18:19:57 +0100
committerajreynol <andrew.j.reynolds@gmail.com>2015-11-25 18:20:15 +0100
commit7f43bd304b3d6bede36a777ee85ab68fab35d742 (patch)
tree7b3f35a95f7af95ad2a67f502317ef177096f95a /test
parent4262723336d82944ffed768604fcd175cdc749a9 (diff)
Infrastructure for partially single invocation properties. Bug fix for unconstrained functions in sygus solver.
Diffstat (limited to 'test')
-rw-r--r--test/regress/regress0/sygus/Makefile.am3
-rw-r--r--test/regress/regress0/sygus/no-mention.sy15
2 files changed, 17 insertions, 1 deletions
diff --git a/test/regress/regress0/sygus/Makefile.am b/test/regress/regress0/sygus/Makefile.am
index 71ca64aea..32caa4989 100644
--- a/test/regress/regress0/sygus/Makefile.am
+++ b/test/regress/regress0/sygus/Makefile.am
@@ -46,7 +46,8 @@ TESTS = commutative.sy \
dt-no-syntax.sy \
list-head-x.sy \
clock-inc-tuple.sy \
- dt-test-ns.sy
+ dt-test-ns.sy \
+ no-mention.sy
# sygus tests currently taking too long for make regress
EXTRA_DIST = $(TESTS) \
diff --git a/test/regress/regress0/sygus/no-mention.sy b/test/regress/regress0/sygus/no-mention.sy
new file mode 100644
index 000000000..05dfbced3
--- /dev/null
+++ b/test/regress/regress0/sygus/no-mention.sy
@@ -0,0 +1,15 @@
+; EXPECT: unsat
+; COMMAND-LINE: --cegqi --no-dump-synth
+(set-logic LIA)
+
+(synth-fun p ((x Int) (y Int)) Int)
+(synth-fun m ((x Int) (y Int)) Int)
+(synth-fun n ((x Int)) Int)
+
+(declare-var x Int)
+(declare-var y Int)
+
+(constraint (>= (m x y) x))
+
+(check-synth)
+
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback