summaryrefslogtreecommitdiffstats
path: root/js/src/tests/ecma_5/extensions/bug566661.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/ecma_5/extensions/bug566661.js')
-rw-r--r--js/src/tests/ecma_5/extensions/bug566661.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/src/tests/ecma_5/extensions/bug566661.js b/js/src/tests/ecma_5/extensions/bug566661.js
new file mode 100644
index 000000000..0e22d8dbd
--- /dev/null
+++ b/js/src/tests/ecma_5/extensions/bug566661.js
@@ -0,0 +1,6 @@
+var f = function (q) { return q['\xC7']; }
+var d = eval(uneval(f));
+assertEq(d({'\xC7': 'good'}), 'good');
+
+if (typeof reportCompare === "function")
+ reportCompare(true, true);