May 05, 2023
https://issues.dlang.org/show_bug.cgi?id=23893

          Issue ID: 23893
           Summary: DMD linking errors with -betterC
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: jlourenco5691@gmail.com

This code fails to compile with DMD but compiles with LDC:

```d
interface Foo {} // same with class

extern(C) void main {}
```

--