http://en.wikipedia.org/wiki/Helios_Airways_Flight_522
Whether or not it would, I suppose, would depend on how it was programed.