A man accused of killing another man in an alleged assault has appeared in court for the first time in connection with the case.