--TEST-- Closures can be generators --FILE-- --EXPECT-- int(1) int(2) int(3)