diff options
Diffstat (limited to 'js/src/jit-test/tests/baseline/getname-uninitialized-let.js')
-rw-r--r-- | js/src/jit-test/tests/baseline/getname-uninitialized-let.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/baseline/getname-uninitialized-let.js b/js/src/jit-test/tests/baseline/getname-uninitialized-let.js new file mode 100644 index 0000000000..a20d4a8906 --- /dev/null +++ b/js/src/jit-test/tests/baseline/getname-uninitialized-let.js @@ -0,0 +1,13 @@ +function f() { + for (var i = 0; i < 12; i++) { + try { + eval(""); + + void x; + } catch (e) { } + } +} + +f(); + +let x; |