https://issues.dlang.org/show_bug.cgi?id=22154
--- Comment #5 from kinke <[email protected]> --- (In reply to Nathan S. from comment #3) > Putting the address in an enum appears to work: Seems like a great way to violate purity: pure int fun(int* x) { enum int* addr = &a; *addr = *x; // boom return 42; } --
