summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug702426-regexp-gc.js
blob: 206e2fd95794ba02995c3c5d372a6fbde27d8efe (plain)
1
2
3
4
5
function g(code) {
    eval("(function(){" + code + "})")()
}
g("evalcx(\"(/a/g,function(){})\")");
g("'a'.replace(/a/g,gc)")