summaryrefslogtreecommitdiff
path: root/test/regress/regress1/sygus-abduct-test.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress1/sygus-abduct-test.smt2')
-rw-r--r--test/regress/regress1/sygus-abduct-test.smt216
1 files changed, 16 insertions, 0 deletions
diff --git a/test/regress/regress1/sygus-abduct-test.smt2 b/test/regress/regress1/sygus-abduct-test.smt2
new file mode 100644
index 000000000..4ac90870c
--- /dev/null
+++ b/test/regress/regress1/sygus-abduct-test.smt2
@@ -0,0 +1,16 @@
+; COMMAND-LINE: --sygus-abduct --sygus-abort-size=2
+; EXPECT: (error "Maximum term size (2) for enumerative SyGuS exceeded.")
+; SCRUBBER: grep -v -E '(\(define-fun)'
+; EXIT: 1
+
+(set-logic QF_UFLIRA)
+(declare-fun n () Int)
+(declare-fun m () Int)
+(declare-fun x () Int)
+(declare-fun y () Int)
+
+(assert (>= n 1))
+(assert (and (<= n x)(<= x (+ n 5))))
+(assert (and (<= 1 y)(<= y m)))
+
+(check-sat-assuming ((< x y)))
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback