| 1 |
; REQUIRES: no-competition |
| 2 |
; EXPECT: (error "Parse Error: issue10093.smt2:7.44: expecting a string-like term in argument of str.prefixof") |
| 3 |
; EXIT: 1 |
| 4 |
; DISABLE-TESTER: dump |
| 5 |
(set-logic ALL) |
| 6 |
(declare-fun a () String) |
| 7 |
(assert (str.prefixof (str.substr a 0 10) 2)) |
| 8 |
(check-sat) |