fork download
  1. import std.stdio;
  2.  
  3. void main()
  4. {
  5. hello(); // OK
  6. }
  7.  
  8. void hello()
  9. {
  10. writeln("Hello World!");
  11. }
Success #stdin #stdout 0s 4192KB
stdin
Standard input is empty
stdout
Hello World!