diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/jit-test/tests/cacheir/bug1823212.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/cacheir/bug1823212.js b/js/src/jit-test/tests/cacheir/bug1823212.js new file mode 100644 index 0000000000..951b3794cc --- /dev/null +++ b/js/src/jit-test/tests/cacheir/bug1823212.js @@ -0,0 +1,13 @@ +with (newGlobal(this)) { + eval(` + function bar() {} + function foo(a) { + try { + foo(); + } catch { + bar(...arguments); + } + } + foo(); + `); +} |