digitalmars.D.bugs - [Issue 22726] New: ImportC: typedefs of tagged enums fail to compile
- d-bugmail puremagic.com (27/27) Feb 02 2022 https://issues.dlang.org/show_bug.cgi?id=22726
https://issues.dlang.org/show_bug.cgi?id=22726 Issue ID: 22726 Summary: ImportC: typedefs of tagged enums fail to compile Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: ImportC, rejects-valid Severity: blocker Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: maxsamukha gmail.com test.c: typedef enum E { a } E; int main() { return 0; } ---- dmd test.c test.c(1): Error: `enum E` has no members --
Feb 02 2022