summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug649689.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/jaeger/bug649689.js')
-rw-r--r--js/src/jit-test/tests/jaeger/bug649689.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/jaeger/bug649689.js b/js/src/jit-test/tests/jaeger/bug649689.js
new file mode 100644
index 000000000..147197e00
--- /dev/null
+++ b/js/src/jit-test/tests/jaeger/bug649689.js
@@ -0,0 +1,6 @@
+function f(x) {
+ eval("a = 3");
+ x.p = x.p = a;
+ assertEq(x.p, 3);
+}
+f({p: 2});