summaryrefslogtreecommitdiff
path: root/test/regress/regress0/sygus
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-04-07 20:40:42 -0500
committerGitHub <noreply@github.com>2021-04-08 01:40:42 +0000
commit89384c9a4aad291ce5ca26917507e4fd47c6ec4f (patch)
tree5b963e9c863686dd452322a672a6deb46cec1bfa /test/regress/regress0/sygus
parenta3605a32a3968c141d50e95477584185616bdbbd (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/sygus')
-rw-r--r--test/regress/regress0/sygus/issue6298-par.sy6
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)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback