Update std/range.d

This commit is contained in:
David Simcha 2011-12-05 14:25:29 -05:00
parent 36fc2fb922
commit ae16fd1b51

View file

@ -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)) {}
}