summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1172498-2.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/ion/bug1172498-2.js')
-rw-r--r--js/src/jit-test/tests/ion/bug1172498-2.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug1172498-2.js b/js/src/jit-test/tests/ion/bug1172498-2.js
new file mode 100644
index 0000000000..10026fefc7
--- /dev/null
+++ b/js/src/jit-test/tests/ion/bug1172498-2.js
@@ -0,0 +1,12 @@
+gczeal(2);
+for (var x = 0; x < 99; x++) {
+ (function() {
+ return function() {
+ new function(y) {
+ return {
+ e: q => q, function() {}
+ }
+ }
+ }
+ })()()
+}