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

--- Comment #12 from ag0aep6g <ag0ae...@gmail.com> ---
(In reply to Tim from comment #0)
> import std.stdio;
> void main() @safe
> {
>     bool b = void;
>     if(b)
>         writeln("b seems to be true");
>     if(!b)
>         writeln("b seems to be false");
> }
> 
> @trusted functions, that are correct for true and false may result in memory
> corruption for invalid values.

I've filed a new issue for this: issue 20148.

--

Reply via email to