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

--- Comment #3 from [email protected] ---
Currently this case gets refused, but here the result of the array operation
has a memory zone to go (the stack, inside the variable f):


struct Foo { int[3] a; }
void main() {
    int[3] b;
    auto f = Foo(b[] / 2);
}

--

Reply via email to