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: [email protected]
Reporter: [email protected]
Reduced test:
---
struct S { int field; };
void main()
{
int var = sizeof (struct S) { 42 };
}
--
