[REG2.065] Issue 12769 - ICE returning array

https://issues.dlang.org/show_bug.cgi?id=12769