aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-1943.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/issue-1943.js')
-rw-r--r--test/compress/issue-1943.js31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/compress/issue-1943.js b/test/compress/issue-1943.js
new file mode 100644
index 00000000..69bb9e64
--- /dev/null
+++ b/test/compress/issue-1943.js
@@ -0,0 +1,31 @@
+operator: {
+ input: {
+ a. //comment
+ typeof
+ }
+ expect_exact: "a.typeof;"
+}
+
+name: {
+ input: {
+ a. //comment
+ b
+ }
+ expect_exact: "a.b;"
+}
+
+keyword: {
+ input: {
+ a. //comment
+ default
+ }
+ expect_exact: "a.default;"
+}
+
+atom: {
+ input: {
+ a. //comment
+ true
+ }
+ expect_exact: "a.true;"
+}