fork download
  1. program ideone;
  2. var
  3. n: integer;
  4. begin
  5. n = 2;
  6. n := sqr(sqrt(n));
  7. end.
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Free Pascal Compiler version 3.0.0+dfsg-10 [2016/12/12] for x86_64
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling prog.pas
prog.pas(5,7) Error: Illegal expression
prog.pas(5,2) Warning: Variable "n" does not seem to be initialized
prog.pas(6,19) Error: Incompatible types: got "Extended" expected "SmallInt"
prog.pas(7,4) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
stdout
Standard output is empty