Man accused of murdering 5-year-old has hearing