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: [email protected]
Reporter: [email protected]
test.c:
typedef enum E
{
a
} E;
int main()
{
return 0;
}
----
dmd test.c
test.c(1): Error: `enum E` has no members
--
