https://issues.dlang.org/show_bug.cgi?id=15542
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from [email protected] --- (In reply to Marc Schütz from comment #1) > Note how it says "undefined program behavior", not even "undefined value". > So technically, the current behaviour is within the spec. (In reply to Jonathan M Davis from comment #3) > You'd basically have to force all pure functions to be @safe if you wanted > to avoid this problem. Note that the test code still compiles even when you add `@safe`. Void initialization of value types is considered `@safe`. --
