summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug708228.js
blob: 4a627fd1fb09397d0dfa7225c35198126c27f44c (plain)
1
2
3
4
5
// |jit-test| error: TypeError
gczeal(4);
var g_rx = /(?:)/;
(3).replace(g_rx.compile("test", "g"), {});