Mercurial > projects > ldc
view test/arrays4.d @ 37:77cdca8c210f trunk
[svn r41] new'd dynamic arrays are now initialized with the element type's default initializer.
initial label/goto support.
author | lindquist |
---|---|
date | Wed, 10 Oct 2007 03:38:24 +0200 |
parents | c0967c4b2a74 |
children | 8b0e809563df |
line wrap: on
line source
module arrays4; void main() { auto arr = new int[4]; auto arrcat = arr ~ arr; assert(arrcat.length == arr.length * 2); }