Mercurial > projects > ldc
view test/multiarr1.d @ 302:bef811104734 trunk
[svn r323] Branching out of inline asm works.
Renamed emit_finallyblocks to DtoFinallyBlocks and moved to llvmhelpers.
Added enclosingtryfinally to AsmBlockStatement, so branches out of asm blocks respect finallys.
Refactored some GotoStatement code into DtoGoto.
author | ChristianK |
---|---|
date | Wed, 25 Jun 2008 20:39:09 +0200 |
parents | 61615fa85940 |
children | 385a18242485 |
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); { int* l = cast(int*)a; l += 10*16+13; assert(*l == 42); } }