michael@0: // Binary: cache/js-dbg-64-50c1bcb49c76-linux michael@0: // Flags: -m -n -a michael@0: // michael@0: michael@0: var lfcode = new Array(); michael@0: lfcode.push("try { \ michael@0: gczeal(2);\ michael@0: exitFunc ('test');\ michael@0: } catch(exc1) {}\ michael@0: "); michael@0: lfcode.push("var summary = 'Foo'; \ michael@0: var actual = 'No Crash';\ michael@0: var expect = 'No Crash';\ michael@0: test();\ michael@0: function test() {\ michael@0: try {\ michael@0: eval('(function(){ .(yield 4) })().next();');\ michael@0: }\ catch(ex) { 'Bar'; }\ michael@0: }\ michael@0: "); michael@0: while (true) { michael@0: var code = lfcode.shift(); michael@0: if (code == undefined) { break; } michael@0: evaluate(code); michael@0: }