Camron Dunn, 18, pleaded not guilty to the murder of Derlarno Samuels, who died after being stabbed on May 1.
Dunn, of Sketchley Close, Smethwick, entered the plea at Wolverhampton Crown Court on Friday. He pleaded guilty to possession of an offensive weapon.
Mr Samuels was found with multiple injuries in a car that had crashed in Heath Street, Smethwick, at around 4.10pm.
He was taken to hospital but pronounced dead around an hour later.
Dunn will stand trial on October 11 at Wolverhampton Crown Court.