Source

gdc / gdc.test / fail_compilation / fail150.d

Full commit
Daniel Green b6fdbee 
















import std.stdio;

class class1
{
}

class Foo
{
}

int main(char[][] argv)
{
    class1 myclass = new class1;

    myclass.new Foo();
    return 0;
}