diff options
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug504516.js')
-rw-r--r-- | js/src/jit-test/tests/auto-regress/bug504516.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug504516.js b/js/src/jit-test/tests/auto-regress/bug504516.js new file mode 100644 index 000000000..253509571 --- /dev/null +++ b/js/src/jit-test/tests/auto-regress/bug504516.js @@ -0,0 +1,9 @@ +// Binary: cache/js-dbg-32-43a24a8896a3-linux +// Flags: -j +// +for (d in [0, 0]) { + const a = (d -= (++d).toString()) + for each(b in [Number(1) << d, 0, 0xC]) { + b / a + } +} |