Oscar scored the opening goal as Brazil warmed up for the Confederations Cup with a 3-0 friendly win over France in Porto Alegre.
David Luiz also started as two second-half goals sealed the win for Luiz Felipe Scolari’s side.
Oscar, who started alongside Hulk and Neymar as part of the attacking trio tucked in behind lone striker Fred, went close to breaking the deadlock six minutes before half-time when he hooked an effort wide from Marcelo’s cross.
The Chelsea playmaker was not to be denied however. Nine minutes after the break he took a Fred pass in his stride before firing low past Tottenham Hotspur goalkeeper Hugo Lloris.
Twelve minutes later Oscar was replaced by Lucas Moura, and the home side put the game beyond doubt five minutes from time when Hernanes finished well following good work by Neymar on the break.
Moura added a third from the penalty spot deep into added time.
David Luiz, who partnered captain Thiago Silva at the heart of the defence, played the full 90 minutes.
Elsewhere, Patrick van Aanholt was an unused substitute as the Netherlands secured a semi-final place at the European Under-21 Championships in Israel.
The Dutch, who beat Germany 3-2 in their opening game on Thursday, had far too much quality for a Russia side who were reduced to 10 men, running out comfortable 5-1 winners.
They will be joined in the semi-finals by Spain, who beat Germany 1-0 in the other game in Group B.