digitalmars.D.bugs - [Issue 22062] New: importC: Error: redeclaration of 'TYPE'
- d-bugmail puremagic.com (26/26) Jun 21 2021 https://issues.dlang.org/show_bug.cgi?id=22062
https://issues.dlang.org/show_bug.cgi?id=22062 Issue ID: 22062 Summary: importC: Error: redeclaration of 'TYPE' Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: critical Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: ibuclaw gdcproject.org Reduced test: --- typedef struct TYPE TYPE; This is valid C, e.g: --- typedef union tree **tree; int main() { union tree *a = 0; tree b = 0; // typed as union tree** return 0; } --
Jun 21 2021