Olivier Giroud and Andre-Pierre Gignac scored as Euro 2016 hosts France beat world champions Germany 2-0 in a friendly overshadowed by attacks in the French capital that, according to reports, left at least 140 dead on Friday.

President Francois Hollande was in the stadium but was rushed away as blasts were heard near the venue north of Paris.

The French, missing the injured Karim Benzema and Mathieu Valbuena following a sex-tape scandal, had to wait until the stroke of halftime to make an impact with Giroud continuing his fine scoring run this season by slotting the ball in from an Anthony Martial cut-back.

Gignac headed the second goal in the 86th minute to seal victory in a game during which several explosions were heard in the first half and the crowd briefly panicked at the end.

Police helicopters circled the stadium at the final whistle after Hollande had left for the interior ministry.

"We are all in shock," said Germany coach Joachim Loew. "The game and the goals move into the background on a day like this.

"We were told in the changing rooms what had happened. All of us on the bench were a bit scared because of a bomb threat earlier today when we spent three hours outside (our hotel)."

Germany were looking to restore some footballing pride with their FA locked in a 2006 World Cup scandal.

Forward Mario Gomez, making his comeback after an absence of more than 14 months and having missed the 2014 World Cup through injury, had a good first- half chance but was kept quiet after the break.

Giroud, on a hot scoring run having also hit six goals in the Premier League with Arsenal, might have netted a second for France when a diving header early in the second half sailed wide.

In Alicante, Spain fullback Mario Gaspar scored with a stunning volley and midfielder Santi Cazorla added a late goal as the European champions handed England a chastening 2-0 defeat in a friendly between the continental heavyweights.

Neither captain Iker Casillas in the Spain goal nor his England counterpart Joe Hart were much troubled before Cesc Fabregas lifted the ball over the England defence for Gaspar to strike in the 72nd minute at the Jose Rico Perez stadium.

The Villarreal defender, who scored on his debut in a 1-0 Euro 2016 qualifying victory against Ukraine last month, watched the ball come over his shoulder and swivelled to hook it brilliantly past Hart into the far corner.

Juan Mata had a chance to double Spain's lead four minutes later when he was through on goal but Hart did well to block his effort before Nolito teed up Cazorla to stroke the ball into the bottom corner six minutes from time.

Spain's quality shone through against a drab England, whose unbeaten streak of 15 matches came to an end with their first defeat since a 2-1 reverse to Uruguay at the World Cup finals in Brazil last year.

"I tried to finish off the attack and the ball just went where it had to go," Gaspar told Spanish television. "It was one of the best goals of my life."