The following produces a segfault with GDC - works OK with DMD on same machine. 
Where do I report it?

import std.stdio;

class Bar
{
    void bar(string s) {}
}

void foo(string s)
{
    Bar b = new Bar();
    writefln("%08x", cast(uint) b);
    void A(string as)
    {
        void B(string bs)
        {
            writefln("in B");
            writefln("%08x", cast(uint) b);
        }
        writefln("%08x", cast(uint) b);
        B(as);
    }
    writefln("%08x", cast(uint) b);
    A(s);
}

void main()
{
    foo("wobble");
}

Reply via email to