https://issues.dlang.org/show_bug.cgi?id=22925
Issue ID: 22925
Summary: importC: multi-dimensional array 'is not a static and
cannot have static initializer'
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]
void fn()
{
int arr[1][1] = { {1} };
}
Error: variable `test.fn.arr` is not a static and cannot have static
initializer
--
