mirror of
https://github.com/dlang/phobos.git
synced 2025-05-02 08:00:48 +03:00
Add unittest for 13935.
This commit is contained in:
parent
51e390d0bb
commit
d79f17444c
1 changed files with 7 additions and 0 deletions
|
@ -14665,6 +14665,13 @@ pure @safe nothrow @nogc unittest
|
|||
assert(D.front == front1);
|
||||
}
|
||||
|
||||
// Issue 13935
|
||||
unittest
|
||||
{
|
||||
auto seq = [1, 2].map!(x => x);
|
||||
foreach (pair; cartesianProduct(seq, seq)) {}
|
||||
}
|
||||
|
||||
/**
|
||||
Find $(D value) _among $(D values), returning the 1-based index
|
||||
of the first matching value in $(D values), or $(D 0) if $(D value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue