Mercurial > projects > ldc
view test/multiarr1.d @ 72:d7e764e62462 trunk
[svn r76] Fixed: TypeInfo for structs.
Fixed: PostExp was unable to allocate storage for parameters.
Fixed: Many types of functions and delegates were broken.
Misc cleanups.
author | lindquist |
---|---|
date | Mon, 29 Oct 2007 03:28:12 +0100 |
parents | b688ad419f8c |
children | 61615fa85940 |
line wrap: on
line source
module multiarr1; void main() { int[16][16] a; a[10][13] = 42; assert(a[0][0] == 0); assert(a[10][13] == 42); {assert(*((cast(int*)a)+10*16+13) == 42);} }