Paraguay won after a dramatic contest, while Brazil came from behind to beat Japan 2-1 with an injury-time winner. Morocco progressed after defeating the Netherlands 3-2 on penalties.
Spain, England, Portugal and Brazil were all unable to beat African opposition during the group stage, while Morocco have spoken confidently about becoming the first African nation to win the World Cup.
Brazil’s win at the Hard Rock Stadium left Scotland close to elimination after a poor defensive display. Vinicius Junior scored twice for Brazil, taking advantage of a mistake by Scott McKenna to put his side ahead in the seventh minute.
The result left England and Ghana level on four points, just ahead of Croatia, who beat Panama 1-0 in Toronto later on Tuesday to knock out the Central Americans.