From 445f1ef365741c3c27e4b1bceea63b12cc5c0bcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Thu, 18 Jan 2018 00:34:53 +0100 Subject: [PATCH] Fix test for frontend versions < 2.072.x. --- source/taggedalgebraic.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/taggedalgebraic.d b/source/taggedalgebraic.d index 36be689..ef8738f 100644 --- a/source/taggedalgebraic.d +++ b/source/taggedalgebraic.d @@ -637,10 +637,11 @@ static if (__VERSION__ >= 2072) { } unittest { // issue #13 - struct S1 { int foo; } + struct S1 { Void dummy; int foo; } struct S { struct T { TaggedAlgebraic!S1 foo() { return TaggedAlgebraic!S1(42); } } struct U { string foo() { return "foo"; } } + Void dummy; T t; U u; }