mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 07:00:37 +03:00
Update std/range.d
This commit is contained in:
parent
36fc2fb922
commit
ae16fd1b51
1 changed files with 3 additions and 3 deletions
|
@ -3766,9 +3766,9 @@ unittest {
|
|||
lockstep(foo, foo, foo);
|
||||
|
||||
// Make sure it works with const.
|
||||
const(int[])[] foo = [[1, 2, 3]];
|
||||
const(int[])[] bar = [[4, 5, 6]];
|
||||
auto c = chain(foo, bar);
|
||||
const(int[])[] foo2 = [[1, 2, 3]];
|
||||
const(int[])[] bar2 = [[4, 5, 6]];
|
||||
auto c = chain(foo2, bar2);
|
||||
|
||||
foreach(f, b; lockstep(c, c)) {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue