[Issue 21515] extern(C) and extern(C++) returns creal in wrong order

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 29 22:19:29 UTC 2020


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

Iain Buclaw <ibuclaw at gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
                 CC|                            |ibuclaw at gdcproject.org

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Iain Buclaw from comment #0)
> This program fails.
> ---
> extern "C" _Complex long double ctwol() { return 1+0Li; }
> 
Oops, that should be 2+0Li.  :-)

--


More information about the Digitalmars-d-bugs mailing list