https://issues.dlang.org/show_bug.cgi?id=24306
Issue ID: 24306
Summary: ImportC: same name structs in separate C files
interfere when compiled together
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: ImportC
Severity: normal
Priority: P3
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
a.c
```
struct S;
```
b.c
```
struct S {}
```
dmd a.c // works
dmd b.c // works
dmd a.c b.c // fails with:
Error: struct `a.S` unknown size
--
