A400M Atlas departs RIAT 2012. The pipe sticking out of the roof behind the wing, is the APU exhaust.
During the flight test programme, exhaust temperatures were found to be lower than expected, so production models will feature an exhaust flush against the roof, helping reduce drag.