summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/regexp/bug1794317.js
blob: 1ecb21eb64ab82fbf87973055c13dacb8eb5db24 (plain)
1
2
3
4
5
6
7
// |jit-test| skip-if: !('oomTest' in this)

for (let i = 0; i < 2; i++) {
  oomTest(function () {
    RegExp("(?<name" + i + ">)").exec();
  })
}