diff options
Diffstat (limited to 'js/src/jit-test/tests/ion/bug1132290.js')
-rw-r--r-- | js/src/jit-test/tests/ion/bug1132290.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug1132290.js b/js/src/jit-test/tests/ion/bug1132290.js new file mode 100644 index 0000000000..0799d150b7 --- /dev/null +++ b/js/src/jit-test/tests/ion/bug1132290.js @@ -0,0 +1,10 @@ + +f = function() { + v = new Uint8Array() + function f(x) { + return x + v[0] | 0 + } + return f +}() +assertEq(f(0), 0) +assertEq(f(1), 0) |