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

--- Comment #6 from [email protected] ---
There is one more missing case, is this worth opening another ER, or not?


import core.simd;
ulong2 foo() @nogc {
    return [0, 0];
}
void main() {}


test.d(3,12): Error: array literal in @nogc function foo may cause GC
allocation

--

Reply via email to