[Issue 22079] New: importC: Error: '=', ';' or ',' expected taking sizeof compound literal
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 23 11:57:39 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22079
Issue ID: 22079
Summary: importC: Error: '=', ';' or ',' expected taking sizeof
compound literal
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
Reduced test:
---
struct S { int field; };
void main()
{
int var = sizeof (struct S) { 42 };
}
--
More information about the Digitalmars-d-bugs
mailing list