fork download
  1. mixin(`
  2.  
  3. void main() {
  4. import std.stdio, std.typetuple;
  5.  
  6. static args = TypeTuple!(42, "HELLO_WORLD_DELPHI", 1.5);
  7.  
  8. ++args[0];
  9. args[1] ~= "_FEST_DETECTED";
  10. args[2] *= 3;
  11.  
  12. void foo(int i, string s, real fl) {
  13.  
  14. writefln("%s %s %s %s", __FUNCTION__, i, s, fl);
  15. }
  16.  
  17. foo(args);
  18. }
  19. `);
Success #stdin #stdout 0s 4160KB
stdin
Standard input is empty
stdout
prog.main.foo 43 HELLO_WORLD_DELPHI_FEST_DETECTED 4.5