diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-04-07 20:40:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-08 01:40:42 +0000 |
commit | 89384c9a4aad291ce5ca26917507e4fd47c6ec4f (patch) | |
tree | 5b963e9c863686dd452322a672a6deb46cec1bfa /test/regress | |
parent | a3605a32a3968c141d50e95477584185616bdbbd (diff) |
Initial support for parametric datatypes in sygus (#6304)
Fixes #6298.
Enables parsing of par in the sygus parser, and adds support for default grammar construction.
Also fixes a bug related to single invocation for non-function types.
Diffstat (limited to 'test/regress')
-rw-r--r-- | test/regress/CMakeLists.txt | 1 | ||||
-rw-r--r-- | test/regress/regress0/sygus/issue6298-par.sy | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/regress/CMakeLists.txt b/test/regress/CMakeLists.txt index c7c311079..83f1c7d84 100644 --- a/test/regress/CMakeLists.txt +++ b/test/regress/CMakeLists.txt @@ -1172,6 +1172,7 @@ set(regress_0_tests regress0/sygus/issue4383-cache-fv-id.sy regress0/sygus/issue4790-dtd.sy regress0/sygus/issue5512-vvv.sy + regress0/sygus/issue6298-par.sy regress0/sygus/let-ringer.sy regress0/sygus/let-simp.sy regress0/sygus/no-logic.sy diff --git a/test/regress/regress0/sygus/issue6298-par.sy b/test/regress/regress0/sygus/issue6298-par.sy new file mode 100644 index 000000000..bffa02b29 --- /dev/null +++ b/test/regress/regress0/sygus/issue6298-par.sy @@ -0,0 +1,6 @@ +; EXPECT: unsat +; COMMAND-LINE: --lang=sygus2 --sygus-out=status +(set-logic ALL) +(declare-datatypes (( List 1)) ( (par (T) ((nil) (cons (head T) (tail (List T))))))) +(synth-fun f () (List Int)) +(check-synth) |