test/regress/cli/regress0/proofs/define-fun-shadow.smt2
raw| 1 | ; DISABLE-TESTER: dump |
| 2 | ; REQUIRES: no-competition |
| 3 | ; SCRUBBER: grep -o "All formal arguments to defined functions must be unique" |
| 4 | ; EXPECT: All formal arguments to defined functions must be unique |
| 5 | ; EXIT: 1 |
| 6 | (set-logic ALL) |
| 7 | (declare-const x2 Bool) |
| 8 | (define-fun s ((a Int) (b Int) (z Int) (z Int)) Bool (= 0 0)) |
| 9 | (define-fun p ((a Int) (b Int) (c Int)) Bool (exists ((x Int) (y Int)) (and false (s 0 0 b c) (forall ((z Int)) false)))) |
| 10 | (assert (p 0 0 0)) |
| 11 | (check-sat) |