[Issue 22404] New: importC: Error: cannot pass argument 'ENUMMEM' of type 'int' to parameter '__tag2'
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Oct 17 13:42:02 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22404
Issue ID: 22404
Summary: importC: Error: cannot pass argument 'ENUMMEM' of type
'int' to parameter '__tag2'
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: ibuclaw at gdcproject.org
---
typedef enum {
ENUMMEM
} E1;
int f1(E1 a);
void f2()
{
f1(ENUMMEM);
}
--
More information about the Digitalmars-d-bugs
mailing list