[Issue 13339] Address of parameter wrong in out contract

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Aug 20 06:00:46 PDT 2014


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

--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Tim from comment #2)
> The bug is not caused by taking the address of a. If the writeln calls are
> removed
> there is still a segmentation fault.

'a' is dereferenced, so an address of it is still taken.

--


More information about the Digitalmars-d-bugs mailing list