program ideone;uses math; begin WriteLn( Sqrt(-1) ); //outputs `Nan`, so it has failed.end.
Standard input is empty
Nan
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!