diff options
author | Haniel Barbosa <hanielbbarbosa@gmail.com> | 2018-08-22 12:18:14 -0500 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-08-22 12:18:14 -0500 |
commit | 9557a5b17781e23e61f9393289fb77dd00386258 (patch) | |
tree | eee93c76e932d9a0f8a517514a9184984f3034f6 /test/regress | |
parent | c74797f4cbded274e2dca6fee5e0efb439da03f5 (diff) |
Adds regression test for automatic generation of SyGuS BV grammars (#2345)
Diffstat (limited to 'test/regress')
-rw-r--r-- | test/regress/Makefile.tests | 1 | ||||
-rw-r--r-- | test/regress/regress0/sygus/hd-05-d1-prog-nogrammar.sy | 10 |
2 files changed, 11 insertions, 0 deletions
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) |