ChaiScript/unittests/for_each_retro.chai
2011-09-24 12:05:08 -06:00

5 lines
142 B
ChaiScript

// Don't bother checking the output from this one, just makes sure it executes
auto v = [1,2,3];
auto r = retro(range(v));
for_each(r, print)