Debian Codegraph @

test/regress/cli/regress0/datatypes/bug625.smt2

raw
1 (set-logic ALL)
2 (set-info :status sat)
3 (declare-fun x1 () Int)
4 (declare-fun x2 () Int)
5 (declare-fun y1 () Int)
6 (declare-fun y2 () Int)
7 (declare-datatypes ((type 0)) ( (
8 (constructor1 (f1 Int))
9 (constructor2 (f2 Int))
10 )))
11 (define-fun mktest ((constructor Int) (p1 Int) (p2 Int)) type (ite (= constructor 1) (constructor1 p1) (constructor2 p2)))
12 (assert (distinct (mktest x1 x2 x2) (mktest y1 y2 y2)))
13 (check-sat)