# File lib/Borges/TestCase/ContinuationTest.rb, line 49 def testBlockVars continuation = nil tmp = 0 tmp2 = nil tmp = callcc do |cc| continuation = cc 0 end + tmp unless tmp2.nil? then tmp2.call else [1, 2, 3].each do |i| callcc do |cc| tmp2 = cc continuation.call(i) end end end assert_equal(6, tmp) end