Fix test compilation on DMD 2.071.x.

This commit is contained in:
Sönke Ludwig 2016-11-08 15:41:59 +01:00
parent f74c30a9f3
commit 18a5afddc4

View file

@ -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++; }