public void ProcYieldCaching1() { AssertOutput(delegate() { CompilerTest(@" def foo yield end foo { print 'A' } foo { print 'B' } foo { print 'C' } "); }, "ABC"); }