view tangotests/debug9.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 8187884566fa
children
line wrap: on
line source

module tangotests.debug9;

struct Foo
{
    int a,b,c;

    void func()
    {
        int* fail;
        *fail = 0;
    }
}

void main()
{
    Foo foo = Foo(1,10,73);
    foo.func();
}