Mercurial > projects > ldc
view tangotests/mem3.d @ 288:ba4e4298009a trunk
[svn r309] Remove the large dstress test result files from svn repository.
author | ChristianK |
---|---|
date | Sat, 21 Jun 2008 14:06:00 +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); }