Mercurial > projects > ldc
view test/neg.d @ 23:77e3d1ddae3f trunk
[svn r27] * Fixed bug in aggregate field lookup.
* Fixed structs with no fields.
* Added support for NegExp as in -x.
author | lindquist |
---|---|
date | Thu, 04 Oct 2007 09:24:15 +0200 |
parents | |
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); }