Brazil overcame the absence of Neymar to beat Switzerland 1-0 and advance to the round of 16 of the World Cup.
Casemiro scored in the 83rd minute to put Brazil in the last 16 with a match to spare in Group G.
Earlier, substitute Vincent Aboubakar scored one goal and created another as Cameroon rallied from 3-1 down to draw 3-3 with Serbia at the World Cup on Monday.
He lobbed goalkeeper Vanja Milinkovic-Savic in the 64th minute and then set up striker Eric Maxim Choupo-Moting two minutes later.
The thrilling draw was the first game at the World Cup in Qatar in which both teams gave up a lead.
But the result suited neither side.
Group G standings: