The error from #4927 has been fixed in the meantime, this PR adds the example as regression.
Closes #4927.
regress0/arrays/incorrect9.smtv1.smt2
regress0/arrays/issue3813-massign-assert.smt2
regress0/arrays/issue3814.smt2
+ regress0/arrays/issue4927-unsat-cores.smt2
regress0/arrays/swap_t1_np_nf_ai_00005_007.cvc.smtv1.smt2
regress0/arrays/x2.smtv1.smt2
regress0/arrays/x3.smtv1.smt2
--- /dev/null
+; COMMANDLINE: --check-unsat-cores --check-models
+; EXPECT: unsat
+(set-logic QF_AX)
+(declare-const a (Array Bool Bool))
+(declare-const b (Array Bool Bool))
+(declare-const c Bool)
+(declare-const d Bool)
+(declare-const e Bool)
+(assert (= a (store b c d)))
+(assert (distinct e d (ite e c d)))
+(assert (= e c (select b d)))
+(check-sat)