diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/jit-test/tests/ion/bug1605641.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug1605641.js b/js/src/jit-test/tests/ion/bug1605641.js new file mode 100644 index 0000000000..e8eded6a9b --- /dev/null +++ b/js/src/jit-test/tests/ion/bug1605641.js @@ -0,0 +1,8 @@ +// |jit-test| error:9 +function thrower() { + throw 9; +} +function f() { + return [...{} [thrower(...["foo"])]] = "undefined"; +} +f(); |