https://issues.dlang.org/show_bug.cgi?id=20722
--- Comment #3 from Rainer Schuetze <[email protected]> --- As my example tried to demonstrate, you can do this with a null pointer to struct (or class) aswell: import std.stdio; struct S { int a, b; } void main() @safe { S* s; int* p = &s.b; writeln(p); // 4 *p = 3; // segfault } --
