summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1754968.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/basic/bug1754968.js')
-rw-r--r--js/src/jit-test/tests/basic/bug1754968.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/bug1754968.js b/js/src/jit-test/tests/basic/bug1754968.js
new file mode 100644
index 0000000000..534b4631cc
--- /dev/null
+++ b/js/src/jit-test/tests/basic/bug1754968.js
@@ -0,0 +1,4 @@
+const root = {a:0, b:0};
+const subclass = Object.create(root);
+const instance = Object.create(subclass);
+Object.assign(subclass, root);