summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/tanya/typecons.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tanya/typecons.d b/source/tanya/typecons.d
index 66ee8c9..68cc589 100644
--- a/source/tanya/typecons.d
+++ b/source/tanya/typecons.d
@@ -92,7 +92,7 @@ template Pair(Specs...)
}
///
-unittest
+@nogc nothrow pure @safe unittest
{
static assert(is(Pair!(int, int)));
static assert(!is(Pair!(int, 5)));