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/regress0 | |
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/regress0')
-rw-r--r-- | test/regress/regress0/sygus/issue6298-par.sy | 6 |
1 files changed, 6 insertions, 0 deletions
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) |