West Ham United’s Dimitri Payet scored a sublime 90th-minute winner to earn Euro 2016 hosts France a 3-2 friendly win over Cameroon in Nantes on Monday.
Didier Deschamps’ side went ahead after 20 minutes through Paris Saint-Germain midfielder Blaise Matuidi before Vincent Aboubakar levelled.
Paul Pogba’s cross allowed Arsenal’s Olivier Giroud to restore France’s lead only for Eric Maxim Choupo-Moting to net an 87th-minute equaliser, before Payet’s direct free-kick settled it at the end.
The 29-year-old beat keeper Fabrice Ondoa with a magnificent curling effort.
France, who play Scotland on 4 June in their final warm-up match, open their Euro 2016 campaign against Romania on 10 June in Paris.
Elsewhere, Sweden were held to a goalless draw by Slovenia in Malmo.
Forward Zlatan Ibrahimovic, resting a sore calf muscle, was an unused substitute for Sweden, whose first game at Euro 2016 is against the Republic of Ireland in Paris on 13 June.
Sweden play Wales in their final pre-tournament friendly in Stockholm on 5 June before heading to France, where they will also face Italy and Belgium in Group E.