view tests/minicomplex/stdout1.d @ 1506:76936858d1c6

Return `void*` from _d_allocclass so LLVM doesn't do weird things with it... This allows `-instcombine` followed by `-gvn` to do devirtualization, so add `-gvn` in strategic places in the default pass order.
author Frits van Bommel <fvbommel wxs.nl>
date Sat, 20 Jun 2009 11:39:13 +0200
parents 1bb99290e03a
children
line wrap: on
line source

import tango.io.Stdout;

void main()
{
    Stdout("Hello World").newline;
    Stdout.formatln("{} {}", "Hello", "World");
}