summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug625718-1.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/jaeger/bug625718-1.js')
-rw-r--r--js/src/jit-test/tests/jaeger/bug625718-1.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/jaeger/bug625718-1.js b/js/src/jit-test/tests/jaeger/bug625718-1.js
new file mode 100644
index 0000000000..601c2a8e6d
--- /dev/null
+++ b/js/src/jit-test/tests/jaeger/bug625718-1.js
@@ -0,0 +1,12 @@
+function f3() { return 2; };
+function f4(o) { o.g4 = function() {}; };
+
+var f = function() {};
+f.x = undefined;
+f4(new String("x"));
+f3();
+f4(f);
+
+for(var i=0; i<20; i++) {
+ f4(Math);
+}