diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/jit-test/tests/warp/bug1702465.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/warp/bug1702465.js b/js/src/jit-test/tests/warp/bug1702465.js new file mode 100644 index 0000000000..5143b52ab7 --- /dev/null +++ b/js/src/jit-test/tests/warp/bug1702465.js @@ -0,0 +1,14 @@ +function foo() { + if (arguments[0]) { + return arguments[1]; + } +} + +with ({}) {} +for (var i = 0; i < 100; i++) { + foo(true, 1); +} + +for (var i = 0; i < 100; i++) { + foo(false); +} |