Mercurial > projects > ldc
view test/bug57.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 | 61615fa85940 |
children |
line wrap: on
line source
import std.stdio; class Foo {} void func3() { Foo[1] test=[new Foo]; writefln(test); } void main() { func3(); }