aboutsummaryrefslogtreecommitdiff
path: root/test/input/reduce/setter.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/input/reduce/setter.js')
-rw-r--r--test/input/reduce/setter.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/input/reduce/setter.js b/test/input/reduce/setter.js
new file mode 100644
index 00000000..87228bc4
--- /dev/null
+++ b/test/input/reduce/setter.js
@@ -0,0 +1,8 @@
+console.log(function f(a) {
+ ({
+ set p(v) {
+ f++;
+ }
+ });
+ return f.length;
+}());