summaryrefslogtreecommitdiff
path: root/test/regress
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress')
-rw-r--r--test/regress/regress0/datatypes/Makefile.am3
-rw-r--r--test/regress/regress0/datatypes/cdt-non-canon-stream.smt211
2 files changed, 13 insertions, 1 deletions
diff --git a/test/regress/regress0/datatypes/Makefile.am b/test/regress/regress0/datatypes/Makefile.am
index 05eb710df..80fea45fc 100644
--- a/test/regress/regress0/datatypes/Makefile.am
+++ b/test/regress/regress0/datatypes/Makefile.am
@@ -60,7 +60,8 @@ TESTS = \
bug438.cvc \
bug438b.cvc \
wrong-sel-simp.cvc \
- tenum-bug.smt2
+ tenum-bug.smt2 \
+ cdt-non-canon-stream.smt2
FAILING_TESTS = \
datatype-dump.cvc
diff --git a/test/regress/regress0/datatypes/cdt-non-canon-stream.smt2 b/test/regress/regress0/datatypes/cdt-non-canon-stream.smt2
new file mode 100644
index 000000000..4a111b41b
--- /dev/null
+++ b/test/regress/regress0/datatypes/cdt-non-canon-stream.smt2
@@ -0,0 +1,11 @@
+(set-logic ALL_SUPPORTED)
+(set-info :status unsat)
+(declare-codatatypes () ((list (cons (head Int) (tail list)))))
+
+(declare-fun x () list)
+(declare-fun y () list)
+
+(assert (= x (cons 0 (cons 0 x))))
+(assert (= y (cons 0 y)))
+(assert (not (= x y)))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback