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

          Issue ID: 24560
           Summary: dmd crash on imported function with default parameter
                    containing `new`
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: hsteoh@qfbox.info

Code:

```
// mod.d
class C { }
struct S
{
    static void fun(C heur = new C) { }
}

// test.d
import mod;
void main()
{
    S.fun();
}
```

Compile command: dmd test.d

Compiler output:
```
Segmentation fault

```

--