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

--- Comment #1 from Basile B. <[email protected]> ---
(In reply to Mike from comment #0)
---------------------------
> 
> If I add -noboundscheck flag all works fine.

Actually there's a random return code, the test case you provided is a
"compilable" test. "runnable" is rather (after reduction)

---
extern (C) int main()
{
    char[256] buf;
    char[] str;
    buf[0..0] = str[0..0];
    return 0;
}
---

--

Reply via email to