Mercurial > projects > ldc
view test/bug77.d @ 286:a3b7c19c866c trunk
[svn r307] Fixed: multidimensional new expressions now work. Eg.:
auto ma = new int[][] (3,9);
author | lindquist |
---|---|
date | Sat, 21 Jun 2008 04:47:14 +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(); }