Fix test for frontend versions < 2.072.x.
This commit is contained in:
parent
3709a2298f
commit
445f1ef365
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue