Mercurial > projects > ldc
view test/bug23.d @ 297:5de180867c46 trunk
[svn r318] Moved the call to DtoBoolean before the not instruction.
Fixes array_initialization_17_A.
author | ChristianK |
---|---|
date | Mon, 23 Jun 2008 19:19:37 +0200 |
parents | d9d5d59873d8 |
children |
line wrap: on
line source
module bug23; extern(C) int printf(char*, ...); void main() { int i; delegate { i++; delegate { i++; }(); }(); printf("%d\n", i); assert(i == 2); }