Mercurial > projects > ldc
view test/arrays4.d @ 310:d20cf0dec9c1 trunk
[svn r331] Fixed, forgot to default initialize the SynchronizedStatement enclosinghandler.
author | lindquist |
---|---|
date | Sat, 28 Jun 2008 11:50:28 +0200 |
parents | c44e6a711885 |
children |
line wrap: on
line source
module arrays4; void main() { int[] arr; arr ~= 3; assert(arr.length == 1); assert(arr[0] == 3); arr ~= 5; assert(arr.length == 2); assert(arr[0] == 3); assert(arr[1] == 5); }