summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testGCWhileRecording.js
blob: cb1f0e806344b4d0b92893d209dc475cf34e853b (plain)
1
2
3
4
5
6
7
8
function test() {
    for (let z = 0; z < 4; ++z) {
      uneval({ x: 9 });
      gc()
    }
    return "pass";
}
assertEq(test(), "pass");