DScanner: automatially set all unattributed unittests to @safe or @system

This commit is contained in:
Sebastian Wilzbach 2017-02-20 19:06:10 +01:00
parent 9c794f5c87
commit a36cec8686
88 changed files with 838 additions and 838 deletions

View file

@ -1479,7 +1479,7 @@ class ErrnoException : Exception
super(msg ~ " (" ~ s[0..s.strlen].idup ~ ")", file, line);
}
unittest
@system unittest
{
import core.stdc.errno : errno, EAGAIN;
@ -1491,7 +1491,7 @@ class ErrnoException : Exception
assert(ex.errno == EAGAIN);
}
unittest
@system unittest
{
import core.stdc.errno : EAGAIN;
auto ex = new ErrnoException("oh no", EAGAIN);