https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90602
Bug ID: 90602
Summary: ICE: null field
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: [email protected]
Target Milestone: ---
$ cat z1.d
struct S { char[0] x; }
const a = S('a');
const char c = a.x;
$ gdc-10-20190519 -c z1.d
z1.d:3:16: error: Internal Compiler Error: null field x
3 | const char c = a.x;
| ^
