summaryrefslogtreecommitdiff
path: root/test/regress/regress2/sygus/qgu-bools.sy
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress2/sygus/qgu-bools.sy')
-rw-r--r--test/regress/regress2/sygus/qgu-bools.sy21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/regress/regress2/sygus/qgu-bools.sy b/test/regress/regress2/sygus/qgu-bools.sy
new file mode 100644
index 000000000..35445e927
--- /dev/null
+++ b/test/regress/regress2/sygus/qgu-bools.sy
@@ -0,0 +1,21 @@
+; COMMAND-LINE: --sygus-query-gen=unsat --sygus-abort-size=2
+; EXPECT: (error "Maximum term size (2) for enumerative SyGuS exceeded.")
+; SCRUBBER: grep -v -E '(\(define-fun|\(query)'
+; EXIT: 1
+(set-logic ALL)
+(synth-fun P ((a Bool) (b Bool) (c Bool)) Bool
+((Start Bool))
+(
+(Start Bool (
+a
+b
+c
+(not Start)
+(= Start Start)
+(or Start Start)
+(ite Start Start Start)
+))
+))
+
+
+(check-synth)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback