summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-08-06 17:33:23 -0500
committerGitHub <noreply@github.com>2018-08-06 17:33:23 -0500
commit352034696fdce868452d097d155f195ea1fa949c (patch)
treed1e148eb8a0a1fdd7d029594995a626dc42cef85 /test
parent4cd9597f8449bf7117cd76615f7b6a609620c0e9 (diff)
Fixes and improvements for single invocation inference (#2261)
Diffstat (limited to 'test')
-rw-r--r--test/regress/Makefile.tests1
-rw-r--r--test/regress/regress1/sygus/constant-bool-si-all.sy14
2 files changed, 15 insertions, 0 deletions
diff --git a/test/regress/Makefile.tests b/test/regress/Makefile.tests
index b8479475f..34855e81d 100644
--- a/test/regress/Makefile.tests
+++ b/test/regress/Makefile.tests
@@ -1508,6 +1508,7 @@ REG1_TESTS = \
regress1/sygus/clock-inc-tuple.sy \
regress1/sygus/commutative.sy \
regress1/sygus/constant.sy \
+ regress1/sygus/constant-bool-si-all.sy \
regress1/sygus/constant-dec-tree-bug.sy \
regress1/sygus/constant-ite-bv.sy \
regress1/sygus/crci-ssb-unk.sy \
diff --git a/test/regress/regress1/sygus/constant-bool-si-all.sy b/test/regress/regress1/sygus/constant-bool-si-all.sy
new file mode 100644
index 000000000..eee7956f4
--- /dev/null
+++ b/test/regress/regress1/sygus/constant-bool-si-all.sy
@@ -0,0 +1,14 @@
+; EXPECT: unsat
+; COMMAND-LINE: --sygus-out=status
+(set-logic SAT)
+(synth-fun f () Bool)
+(synth-fun g () Bool)
+(synth-fun h () Bool)
+(synth-fun w () Int)
+
+(constraint (not (= w 0)))
+(constraint f)
+(constraint (not g))
+(constraint h)
+
+(check-synth)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback