Defending champions Cameroon and Benin played out a goalless draw, allowing both sides to progress into the last 16 of the Africa Cup of Nations.
The result means Cameroon finished second in Group F to set up a tasty meeting with Nigeria.
Benin went through as one of the four best third-placed teams and will come up against Morocco.
Cameroon came closest to scoring but both Ambroise Oyongo and Eric Maxim Choupo-Moting saw their efforts saved.
Goalkeeper Saturnin Allagbe dived full length to his right to make two stunning fingertip saves in the opening period.
Benin's best chance fell to Stephane Sessegnon, but the former Sunderland and West Brom midfielder struck a free-kick narrowly wide.
Ghana beat Guinea-Bissau 2-0 and will face the second-placed team from Group E. The final group games take place on Wednesday with Mali already going through, while Tunisia, Angola and Mauritania all still in contention to progress.