https://issues.dlang.org/show_bug.cgi?id=22973
Issue ID: 22973
Summary: importC: sizeof with array and pointer access gives
'array type has incomplete element type'
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: ImportC, rejects-valid
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
int *ps[1];
_Static_assert(sizeof(ps[0][0]) == sizeof(int), "");
Error: array type has incomplete element type `ps[0]`
--
