fork download
  1. using System;
  2. public class Test
  3. {
  4. public static void Main()
  5. {
  6. int n;
  7. while ((n = int.Parse(Console.ReadLine()))!=42)
  8. Console.WriteLine(n);
  9. }
  10. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
gnatgcc -c -pipe -O2 prog.adb
prog.adb:1:01: compilation unit expected
prog.adb:3:01: illegal character, replaced by "("
prog.adb:5:09: illegal character, replaced by "("
prog.adb:7:59: != should be /=
prog.adb:9:09: illegal character, replaced by ")"
prog.adb:10:01: illegal character, replaced by ")"
gnatmake: "prog.adb" compilation error
stdout
Standard output is empty