diff options
Diffstat (limited to 'js/src/jit-test/tests/basic/testConstructorBail.js')
-rw-r--r-- | js/src/jit-test/tests/basic/testConstructorBail.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/testConstructorBail.js b/js/src/jit-test/tests/basic/testConstructorBail.js new file mode 100644 index 000000000..0cd3397f7 --- /dev/null +++ b/js/src/jit-test/tests/basic/testConstructorBail.js @@ -0,0 +1,4 @@ +function testConstructorBail() { + for (let i = 0; i < 5; ++i) new Number(/x/); +} +testConstructorBail(); |