https://issues.dlang.org/show_bug.cgi?id=22245
Issue ID: 22245
Summary: importC: Error: found `.` when expecting `)`
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
This occurs when using `sizeof unary-expression`,
struct A { int a; };
int test()
{
struct A a;
return sizeof(a.a);
}
--
