mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 06:30:28 +03:00
DScanner: automatially set all unattributed unittests to @safe or @system
This commit is contained in:
parent
9c794f5c87
commit
a36cec8686
88 changed files with 838 additions and 838 deletions
|
@ -1299,7 +1299,7 @@ class Comment : Item
|
|||
override @property @safe @nogc pure nothrow bool isEmptyXML() const { return false; } /// Returns false always
|
||||
}
|
||||
|
||||
unittest // issue 16241
|
||||
@safe unittest // issue 16241
|
||||
{
|
||||
import std.exception : assertThrown;
|
||||
auto c = new Comment("==");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue