view tests/minicomplex/gc2.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

module tangotests.gc2;

import tango.core.Memory;

void main()
{
    char[] tmp = new char[2500];
    GC.collect();
}