mirror of
https://github.com/Z3Prover/z3
synced 2025-08-29 22:40:08 +00:00
Identify root cause and implement targeted fix for recursive function hanging
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
830ede6623
commit
1a30705bd9
5 changed files with 12 additions and 5 deletions
2
test_simple_hang.smt2
Normal file
2
test_simple_hang.smt2
Normal file
|
@ -0,0 +1,2 @@
|
|||
(define-funs-rec ((simple ((x Int)) Int)) ((ite (= x 0) 0 (simple (- x 1)))))
|
||||
(assert (= (simple 1) 0))
|
Loading…
Add table
Add a link
Reference in a new issue