https://issues.dlang.org/show_bug.cgi?id=19545

--- Comment #2 from John Colvin <[email protected]> ---
class C()
{
    int foo() { }
}

C!() c()()
{
    return new C!()();
}

static assert(!__traits(compiles, c()));

--

Reply via email to