summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1468792.js
blob: 9049aca7213864f2ec3d51463d156f0aef0bd61f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// |jit-test| error: ReferenceError

loadFile(`
  gczeal(2,9);
  evaluate(\`
    reportCompare(expect, actual, summary);
  \`);
`);
function loadFile(lfVarx) {
    try {
        evaluate(lfVarx);
    } catch (lfVare) {}
}
eval("(function(){({6953421313:0})})")();
function f() {
    x[6953421313] = "a";
}
f();