Add preventive test involving non-ascii function identifiers
This commit is contained in:
parent
0913db8c84
commit
da17766ddd
8
test/compress/functions.js
Normal file
8
test/compress/functions.js
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
non_ascii_function_identifier_name: {
|
||||||
|
input: {
|
||||||
|
function fooλ(δλ) {}
|
||||||
|
function λ(δλ) {}
|
||||||
|
(function λ(δλ) {})()
|
||||||
|
}
|
||||||
|
expect_exact: "function fooλ(δλ){}function λ(δλ){}(function λ(δλ){})();"
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user