Enable dip1000, drop support for < 2.085.1, test on OSX

This commit is contained in:
Geod24 2020-01-13 16:33:25 +09:00
parent fe2447f71a
commit 7d47caa87d
3 changed files with 34 additions and 15 deletions

View file

@ -943,7 +943,7 @@ unittest { // "in" operator
unittest { // issue #15 - by-ref return values
static struct S {
int x;
ref int getx() { return x; }
ref int getx() return { return x; }
}
static union U { S s; }
alias TA = TaggedAlgebraic!U;