[Issue 14459] String literal merge bug causes incorrect runtime program behavior
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Apr 18 19:51:52 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14459
--- Comment #2 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
yet in the case when i'm assigning pointer to pointer i'm expecting that two
pointers are the same. i'd never expect the following fail, under no
circumstances:
const char* s16 = "hi16";
const(char)* p16 = s16;
assert(p0 == s0); // fails
--
More information about the Digitalmars-d-bugs
mailing list