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

--- Comment #3 from Iain Buclaw <ibuc...@gdcproject.org> ---
(In reply to Iain Buclaw from comment #2)
> Seems that it is undefined behaviour in C, as the test fails under gcc, but
> passes for clang.
> 
> https://godbolt.org/z/3hnjzMhfM

Note that both *do* give warnings about it though, to make it abundantly clear
this is not strictly deterministic code.

--

Reply via email to