From da17766ddda3b89f94706ad7e329faa66a3e3a3e Mon Sep 17 00:00:00 2001 From: Anthony Van de Gejuchte Date: Wed, 30 Nov 2016 21:54:23 +0100 Subject: [PATCH] Add preventive test involving non-ascii function identifiers --- test/compress/functions.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/compress/functions.js 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 λ(δλ){})();" +} -- 2.34.1