From 352034696fdce868452d097d155f195ea1fa949c Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Mon, 6 Aug 2018 17:33:23 -0500 Subject: Fixes and improvements for single invocation inference (#2261) --- test/regress/Makefile.tests | 1 + test/regress/regress1/sygus/constant-bool-si-all.sy | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 test/regress/regress1/sygus/constant-bool-si-all.sy (limited to 'test') 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) -- cgit v1.2.3