aboutsummaryrefslogtreecommitdiff
path: root/test/compress/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/functions.js')
-rw-r--r--test/compress/functions.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/compress/functions.js b/test/compress/functions.js
new file mode 100644
index 00000000..3a8701b7
--- /dev/null
+++ b/test/compress/functions.js
@@ -0,0 +1,8 @@
+non_ascii_function_identifier_name: {
+ input: {
+ function fooλ(δλ) {}
+ function λ(δλ) {}
+ (function λ(δλ) {})()
+ }
+ expect_exact: "function fooλ(δλ){}function λ(δλ){}(function λ(δλ){})();"
+}