But why does enclosing the allocation within the main change the way the array is handled? outside main = hang inside main = correct compile + runtime error > > I fill bugreports at http://d.puremagic.com/issues/ > > But not for this one, as it won't be fixed because of the said reason. >