Mercurial > projects > ldc
view test/bug19.d @ 104:4d1e9eb001e0 trunk
[svn r108] Now basic suppport for complex types. =,+,-,*,/ are supported.
author | lindquist |
---|---|
date | Mon, 19 Nov 2007 02:58:58 +0100 |
parents | e5c4bece7fa1 |
children |
line wrap: on
line source
module bug19; void main() { auto dg = (int i) { return i*2; }; assert(dg(2) == 4); }