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

Vladimir Panteleev <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dlang-bugzilla@thecybershad
                   |                            |ow.net

--- Comment #2 from Vladimir Panteleev <[email protected]> ---
////////// test.c //////////
#include <stdio.h>

union X { int x; float y; };

int main()
{
    union X x;
    x.x = -1;
    printf("%f\n", x.y);
    return 0;
}
////////////////////////////

This also prints -nan.

What's the bug?

--

Reply via email to