public void RubyBlocks9() { AssertOutput(delegate() { CompilerTest(@" i = 0 x = 5.times { |x| puts x i = i + 1 if i < 3 then next end puts 'bar' } "); }, @" 0 1 2 bar 3 bar 4 bar "); }