Fix test compilation on DMD 2.071.x.
This commit is contained in:
parent
f74c30a9f3
commit
18a5afddc4
|
@ -310,7 +310,7 @@ nothrow unittest {
|
|||
|
||||
@safe unittest { // test for proper use of constructor/post-blit/destructor
|
||||
static struct Test {
|
||||
@safe:
|
||||
@safe nothrow:
|
||||
static size_t constructedCounter = 0;
|
||||
bool constructed = false;
|
||||
this(int) { constructed = true; constructedCounter++; }
|
||||
|
|
Loading…
Reference in a new issue