1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
gczeal(2) try { (function () { for each(l in [0, 0, 0]) { print(''.replace(function () {})) } })() } catch (e) {} x = gczeal(2) try { (function () { for each(d in [x, x, x]) { 'a'.replace(/a/, function () {}) } })() } catch (e) {} /* Don't assert or segfault. Tests PIC resetting. */