Mercurial > projects > ldc
view test/aa1.d @ 333:f7190d9eb70c trunk
[svn r354] Fix the regressions between [346] and [353] by making constructors and destructors outside classes fatal errors.
Fix tests makefile and add minimize to gc.d.
author | ChristianK |
---|---|
date | Sat, 12 Jul 2008 09:23:14 +0200 |
parents | 5ab8e92611f9 |
children |
line wrap: on
line source
module aa1; void main() { int[int] aai; assert(aai is null); aai[0] = 52; assert(aai !is null); int i = aai[0]; assert(i == 52); aai[32] = 123; int j = aai[32]; assert(i == 52); assert(j == 123); }