summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testInitProtoPrimitive.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/basic/testInitProtoPrimitive.js')
-rw-r--r--js/src/jit-test/tests/basic/testInitProtoPrimitive.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/testInitProtoPrimitive.js b/js/src/jit-test/tests/basic/testInitProtoPrimitive.js
new file mode 100644
index 000000000..d84dd8ac2
--- /dev/null
+++ b/js/src/jit-test/tests/basic/testInitProtoPrimitive.js
@@ -0,0 +1,2 @@
+for (var i = 0; i < 10; i++)
+ "" + {__proto__: 'aaa'};