diff options
Diffstat (limited to 'js/src/jit-test/tests/parser/bug-1161312.js')
-rw-r--r-- | js/src/jit-test/tests/parser/bug-1161312.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/parser/bug-1161312.js b/js/src/jit-test/tests/parser/bug-1161312.js new file mode 100644 index 0000000000..c697471607 --- /dev/null +++ b/js/src/jit-test/tests/parser/bug-1161312.js @@ -0,0 +1,3 @@ +// Test that lazy scripts can handle OOB column numbers. + +assertEq(evaluate(`var f = x=>saveStack().column; f()`, { columnNumber: 1729 }), 1741); |