[Issue 14104] aa with pointer key type doesn't find existing value
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Feb 1 11:48:01 PST 2015
https://issues.dlang.org/show_bug.cgi?id=14104
Rainer Schuetze <r.sagitario at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |r.sagitario at gmx.de
--- Comment #2 from Rainer Schuetze <r.sagitario at gmx.de> ---
Here's small test case for 64-bit:
void main()
{
int[const(ubyte)*] aa;
const(ubyte)* p = cast(const(ubyte)*) 0x1_0000_0000;
aa[p] = 1;
assert(aa[p] == 1);
assert(p in aa);
}
--
More information about the Digitalmars-d-bugs
mailing list