view tests/parser/new_1.d @ 162:0f38f1a0f06f

Fixed symbol for a functions members.
author Anders Johnsen <skabet@gmail.com>
date Tue, 22 Jul 2008 16:22:58 +0200
parents a2d9121d6dff
children 362265427838
line wrap: on
line source


class A
{
    this(long y)
    {
    }

    this(int y)
    {
    }

    int x;
}

struct B
{
}

void main()
{
    B b;
    long x;
    A a = new A(x);
}