summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testSlowNativeWithNullThis.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/basic/testSlowNativeWithNullThis.js')
-rw-r--r--js/src/jit-test/tests/basic/testSlowNativeWithNullThis.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/testSlowNativeWithNullThis.js b/js/src/jit-test/tests/basic/testSlowNativeWithNullThis.js
new file mode 100644
index 0000000000..b90b4f10d7
--- /dev/null
+++ b/js/src/jit-test/tests/basic/testSlowNativeWithNullThis.js
@@ -0,0 +1,6 @@
+x = 0
+for (a = 0; a < 3; a++) {
+ new ((function () {
+ return Float64Array
+ })())(x, 1)
+}