Amad Diallo scored a late winner as Ivory Coast stunned France 2-1 in a World Cup warm-up match in Nantes on Thursday.