https://issues.dlang.org/show_bug.cgi?id=23185
Issue ID: 23185
Summary: importC: anonymous struct inside __builtin_offsetof
doesn't compile
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: blocker
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
The following code doesn't compile:
```
void test()
{
int a = __builtin_offsetof(struct { int a;}, a);
}
```
--
