Host Brazil will play Japan in the opening match of next year's Confederations Cup, while world champion Spain will debut against Uruguay.

Brazil will also play Italy and Mexico in Group A of the tournament among continental champions. Saturday's draw in Sao Paulo also pits Tahiti and the yet-to-be decided winner of the African Cup of Nations alongside Spain and Uruguay in Group B.

The eight-team warm-up tournament, which helps the host country test some of its 2014 World Cup preparations, will be played June 15-30 in six Brazilian cities.

The opener will be in the capital of Brasilia and the final at Maracana Stadium in Rio de Janeiro.