Mercurial > projects > ldc
view test/bug77.d @ 293:ebfa488f4abc trunk
[svn r314] Get correct value type for newing of multidimensional dynamic arrays.
Fixes array_initialization_26_E.
author | ChristianK |
---|---|
date | Sun, 22 Jun 2008 15:21:34 +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(); }