[Issue 22726] New: ImportC: typedefs of tagged enums fail to compile
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 2 09:50:46 UTC 2022
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 at puremagic.com
Reporter: maxsamukha at 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
--
More information about the Digitalmars-d-bugs
mailing list