French-born Wahbi Khazri scored the only goal of the game as Tunisia upset World Cup holders France 1-0 but the shock victory was not enough for them to join the defending champions in the last 16 of the tournament.
Khazri steered home a 58th-minute winner at the Education City Stadium in Qatar amid a cluster of defenders for only a third victory at six World Cup tournaments for Tunisia but they were still eliminated.
France, who made nine changes for this match from the team that beat Denmark and had already booked their place in the knockout stages, finished top of Group D on goal difference from runners-up Australia, who beat Denmark 1-0 at the same time.
France now take on the runners-up in Group C, which will be concluded later on Wednesday.


England dismiss Pakistan for 110 to seize control of Lord's test
Raphinha, Fermin score as Barcelona beat Athletic in home opener
Celtic and Rangers to play cup match behind closed doors after pitch invasion
Chelsea and Fulham reach League Cup third round as Welbeck scores on debut
PSG to meet Barca, Man City as Champions League draw throws up marquee ties