From 89384c9a4aad291ce5ca26917507e4fd47c6ec4f Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Wed, 7 Apr 2021 20:40:42 -0500 Subject: 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. --- test/regress/regress0/sygus/issue6298-par.sy | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/regress/regress0/sygus/issue6298-par.sy (limited to 'test/regress/regress0/sygus') 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) -- cgit v1.2.3