From: Haniel Barbosa Date: Wed, 22 Aug 2018 17:18:14 +0000 (-0500) Subject: Adds regression test for automatic generation of SyGuS BV grammars (#2345) X-Git-Tag: cvc5-1.0.0~4742 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9557a5b17781e23e61f9393289fb77dd00386258;p=cvc5.git Adds regression test for automatic generation of SyGuS BV grammars (#2345) --- diff --git a/test/regress/Makefile.tests b/test/regress/Makefile.tests index f766396a1..a4d318067 100644 --- a/test/regress/Makefile.tests +++ b/test/regress/Makefile.tests @@ -827,6 +827,7 @@ REG0_TESTS = \ regress0/sygus/check-generic-red.sy \ regress0/sygus/const-var-test.sy \ regress0/sygus/dt-no-syntax.sy \ + regress0/sygus/hd-05-d1-prog-nogrammar.sy \ regress0/sygus/let-ringer.sy \ regress0/sygus/let-simp.sy \ regress0/sygus/no-syntax-test-bool.sy \ diff --git a/test/regress/regress0/sygus/hd-05-d1-prog-nogrammar.sy b/test/regress/regress0/sygus/hd-05-d1-prog-nogrammar.sy new file mode 100644 index 000000000..71af1e916 --- /dev/null +++ b/test/regress/regress0/sygus/hd-05-d1-prog-nogrammar.sy @@ -0,0 +1,10 @@ +; COMMAND-LINE: --sygus-out=status --cegqi-si=none +; EXPECT: unsat + +(set-logic BV) + +(synth-fun f ((x (BitVec 32))) (BitVec 32)) + +(declare-var x (BitVec 32)) +(constraint (= (bvor x #x00000001) (f x))) +(check-synth)