summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2018-03-07 06:52:35 +0100
committerEugen Wissner <belka@caraus.de>2018-03-07 06:52:35 +0100
commite77a499fa27aa30e20ea9e895b80fcde6bdd70d3 (patch)
tree3da33c34b07d635249347dcbcc70ee895e7aead0
parent54bcec216ee40a881552bf7268aff6f15eebd8a0 (diff)
downloadtanya-0.7.9.tar.gz
Annotate typecons unittestsv0.7.9
-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)));