Skip to content

Commit

Permalink
Add test from issue 1008
Browse files Browse the repository at this point in the history
This commit adds a test suggested by Basile in issue OCamlPro#1008.
  • Loading branch information
Halbaroth committed Aug 16, 2024
1 parent 0d6300e commit 48803a5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/issues/1008.expected
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

unsat
8 changes: 8 additions & 0 deletions tests/issues/1008.smt2
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(set-logic ALL)
(declare-datatype t ((A) (B (i Int))))

(declare-const e t)

(assert ((_ is B) e))
(assert (forall ((n Int)) (distinct e (B n))))
(check-sat)

0 comments on commit 48803a5

Please sign in to comment.