aboutsummaryrefslogtreecommitdiff
path: root/test/compress
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress')
-rw-r--r--test/compress/pure_getters.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/compress/pure_getters.js b/test/compress/pure_getters.js
index c2dcb95b..846b53c3 100644
--- a/test/compress/pure_getters.js
+++ b/test/compress/pure_getters.js
@@ -106,3 +106,16 @@ unsafe_reduce_vars: {
(void 0).prop;
}
}
+
+chained: {
+ options = {
+ pure_getters: "strict",
+ side_effects: true,
+ }
+ input: {
+ a.b.c;
+ }
+ expect: {
+ a.b.c;
+ }
+}