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

RazvanN <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from RazvanN <[email protected]> ---
The import is not necessary. Having the code in a single file also segfaults:

class C { } 
struct S
{
    static void fun(C heur = new C) { } 
}

void main()                                                                     
{
    S.fun();
}

--

Reply via email to