[Issue 17318] Delegates allow escaping reference to stack variable
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jan 20 15:49:16 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=17318
Carsten Blüggel <chilli at posteo.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chilli at posteo.net
--- Comment #1 from Carsten Blüggel <chilli at posteo.net> ---
DMD64 D Compiler v2.078.0 and
LDC - the LLVM D compiler (1.7.0): based on DMD v2.077.1 and LLVM 5.0.1:
I can't reproduce the issue reported; for me, Your code prints:
&s.x = 0x7ffd86c2a118
&x = 0x7ffd86c2a118
Equal addresses, independent from with/without -dip1000, didn't need to comment
out anything.
--
More information about the Digitalmars-d-bugs
mailing list