Newcastle midfielder Joelinton scored on his Brazil debut, helping his side cruise past Guinea in their international friendly in Barcelona.
Joelinton opened the scoring, tapping in a rebound after 27 minutes.
Rodrygo added a second only for Guinea's Serhou Guirassy to pull a goal back before half-time.
But Eder Militao netted Brazil's third in the 47th minute before Vinicius Jr converted a penalty in the closing stages to complete a routine win.
Brazil wore an all black kit in the first half as part of an anti-racism campaign.
Before the match at Espanyol's Stage Front stadium, both teams stood behind a banner which said "with racism, there is no game" in Portuguese.