summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug743096.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug743096.js')
-rw-r--r--js/src/jit-test/tests/auto-regress/bug743096.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug743096.js b/js/src/jit-test/tests/auto-regress/bug743096.js
new file mode 100644
index 0000000000..81661ea6e1
--- /dev/null
+++ b/js/src/jit-test/tests/auto-regress/bug743096.js
@@ -0,0 +1,14 @@
+// Binary: cache/js-dbg-64-a9a18824b4c1-linux
+// Flags: --ion-eager
+//
+
+try {
+function f() {
+ var obj = {
+ p0:0, p1:1, p2:2, p3:3, p4:4, p5:5, p6:6, p7:7, p8:8, p9:9,
+ p10:0, p11:1, set:2, p13:3, p14:4, p15:5, p16:6, p17:7, p18:8, p19:9,
+ with : function() { return 42; }
+ };
+}
+ actual = f();
+} catch(exc1) {}