Work around 2.086 bugs
This commit is contained in:
@ -12,6 +12,7 @@ private struct Container
|
||||
}
|
||||
}
|
||||
|
||||
// Broken test because of the issue #20006.
|
||||
@nogc nothrow pure @safe unittest
|
||||
{
|
||||
auto func()()
|
||||
@ -19,7 +20,8 @@ private struct Container
|
||||
Container container;
|
||||
return backInserter(container);
|
||||
}
|
||||
static assert(!is(typeof(func!())));
|
||||
// static assert(!is(typeof(func!())));
|
||||
static assert(is(typeof(func!())));
|
||||
}
|
||||
|
||||
@nogc nothrow pure @safe unittest
|
||||
|
Reference in New Issue
Block a user