Mercurial > projects > ldc
view tangotests/mem3.d @ 265:455eb10696f2 trunk
[svn r286] removing test statistics from repository; they are too big and change too often
author | ChristianK |
---|---|
date | Sun, 15 Jun 2008 11:40:47 +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); }