summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1447996.js
blob: ec7cc5a25a1cbe90683029b46b28e53aaabe0682 (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| skip-if: !('stackTest' in this)

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);