The two "main()" below both result in the same ICE e2ir.c:1911 using dmd 2067-devel
---
void main() {
int[1] a;
auto tmp = (a[] * a[])[];
}
/*void main()
{
double[] p = [-1, -2, -3, -4];
double[] origin = [1, 2, 3, 4];
auto shiftedPoint = (p[] - origin[])[];
}*/
---
Internal error: e2ir.c 1911
I'm opening this as a new issue but it may be a duplicate of 12179.
System:
Arch x86_64.
DMD64 D Compiler v2.066.0
or
DMD64 D Compiler v2.067-devel-5606406
Cheers,
gc
Comment #1 by dlang-bugzilla — 2014-09-21T01:42:29Z