summaryrefslogtreecommitdiff
path: root/test/regress/regress1/abduct-dt.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress1/abduct-dt.smt2')
-rw-r--r--test/regress/regress1/abduct-dt.smt28
1 files changed, 8 insertions, 0 deletions
diff --git a/test/regress/regress1/abduct-dt.smt2 b/test/regress/regress1/abduct-dt.smt2
new file mode 100644
index 000000000..d72d15a21
--- /dev/null
+++ b/test/regress/regress1/abduct-dt.smt2
@@ -0,0 +1,8 @@
+; COMMAND-LINE: --produce-abducts
+; SCRUBBER: grep -v -E '(\(define-fun)'
+; EXIT: 0
+(set-logic ALL)
+(declare-datatypes ((List 0)) (((nil) (cons (head Int) (tail List)))))
+(declare-fun x () List)
+(assert (distinct x nil))
+(get-abduct A (= x (cons (head x) (tail x))))
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback