Confirmed and still happening with DMD 1.030 and GDC r231.
DMD 1.030 result:
---
Error: integral constant must be scalar type, not void
---
GDC r231 / GCC 4.1.2 / x86_64 result:
---
Error: integral constant must be scalar type, not void
cc1d: ../../gcc-4.1.2-gdc/gcc/d/dmd/todt.c:85: dt_t* createTsarrayDt(dt_t*, Type*): Assertion `tsa->size(0) % eoa_size == 0' failed.
test.d:0: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
---
Comment #3 by yebblies — 2011-06-11T10:43:50Z
This works in dmd 1.068 and dmd 2.053, if you use a void initializer.