https://issues.dlang.org/show_bug.cgi?id=13589
--- Comment #1 from Kenji Hara <[email protected]> --- For the memory safety, asm statement with @trusted attribute is still useful. void foo(int* p) @safe { asm @trusted {/*...*/} // this is assumed as safe. (*p + 1) = 10; // pointer arithmetic is disallowed in safe code } And more, I'd disallow asm @safe {/*...*/} , because we already have the best attribute @trusted to assume the code as such. --
