summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1354480.js
blob: c80ec01f9fb35d49aafca8d2bbd2714f4add17e7 (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| error: TypeError
test = "function f(a) { return a } f`a$b`";
evalWithCache(test, {});
dbg = new Debugger();
gczeal(9, 1);
dbg.findScripts('January 0 0 is invalid');
function evalWithCache(code, ctx) {
    ctx.global = newGlobal();
    evaluate(code, ctx)
}