Mercurial > projects > ldc
view tangotests/mem3.d @ 300:7b1040c76dd2 trunk
[svn r321] Fix bug in argument remapping functions.
author | ChristianK |
---|---|
date | Tue, 24 Jun 2008 22:27:55 +0200 |
parents | c4c9b4ac021b |
children |
line wrap: on
line source
module tangotests.mem3; void main() { int[] arr; arr ~= [1,2,3]; assert(arr[0] == 1); assert(arr[1] == 2); assert(arr[2] == 3); delete arr; assert(arr is null); }