summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1447996.js
blob: 82c152ac1537fd73a5f6e569bc860ae2a98ef972 (plain)
1
2
3
4
5
6
7
8
var x = 0;
function f() {
    var s = "abcdef(((((((a|b)a|b)a|b)a|b)a|b)a|b)a|b)" + x;
    res = "abcdefa".match(new RegExp(s));
    x++;
}
f();
stackTest(f, true);