Mercurial > projects > ldc
view test/neg.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 | 77e3d1ddae3f |
children |
line wrap: on
line source
module neg; void main() { int i = 32; long l = 55; float f = 23; double d = 4; assert(-i == -32); assert(-l == -55); assert(-f == -23); assert(-d == -4); }