France sealed top spot in Group A despite being held to a 0-0 draw by Switzerland in Lille.
The Euro 2016 hosts got the point they needed to ensure they would finish top of the section, while the result also sees Switzerland confirm their place in the last 16 for the first time as runners-up.
With qualification already secured, France made five changes to their starting line-up in Didier Deschamps’ 50th game in charge.
Les Bleus were the dominant team, with the returning Paul Pogba striking the crossbar twice in the first half and substitute Dimitri Payet doing the same after the break as Switzerland failed to muster a single shot on target.
France will now play a third-place finisher from Groups C, D or E in the next round and Switzerland will face the runners-up of Group C.
In the other Group A game, Albania kept their hopes of progression to the knockout rounds of Euro 2016 alive by eliminating Romania with a historic 1-0 Group A win in Lyon on Sunday.
Gianni De Biasi’s side had lost their opening games against Switzerland and hosts France but produced a superb performance to claim their first win at a major tournament.
Having scored just seven goals in qualifying for the competition, Albania showed why they have struggled in front of goal by spurning some gilt-edged opportunities in the first half.
Ermir Lenjani hit over from close range in the 23rd minute but Albania were not made to pay for that miss, Armando Sadiku netting what proved to be a decisive first tournament goal for De Biasi’s men.
Romania improved in the second half and only the crossbar prevented Florin Andone from levelling matters 14 minutes from time.