Mercurial > projects > ldc
view test/bug77.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 bug77; import tango.stdc.string; void main() { size_t len; void func2() { char* prefix = ""; void func() { len = strlen(prefix); assert(len == 0); } func(); } func2(); }