summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/function-cloning-1.js
blob: 92511b15bdcd3038324f7cff3e97c93f0ff86a67 (plain)
1
2
3
4
var g = newGlobal();
var f1 = g.evaluate("(function (x) { function inner() {}; })");
gczeal(2, 1); // Exercise all the edge cases in cloning, please.
var f2 = clone(f1);