fork download
  1. With Ada.Text_IO; Use Ada.Text_IO;
  2. With Ada.Integer_Text_IO; Use Ada.Integer_Text_IO;
  3.  
  4. procedure Program is
  5. begin
  6. for (int i=0, j=10; i<2*j; i++,j--)
  7. system.out.println(i);
  8. end Program;
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
gcc-5 -c -pipe -O2 test.adb
test.adb:6:06: identifier expected
test.adb:8:01: "end loop;" expected for "loop" at line 6
gnatmake: "test.adb" compilation error
stdout
Standard output is empty