add unittest for case that used to fail

This commit is contained in:
Walter Bright 2010-08-10 23:10:03 +00:00
parent 8928d06403
commit d98807e043

View file

@ -830,6 +830,10 @@ unittest
// With chain
assert(equal(filter!overX(chain(a, nums)), [22, 42]));
// With copying of inner struct Filter to Map
auto arr = [1,2,3,4,5];
auto m = map!"a + 1"(filter!"a < 4"(arr));
}
// move