diff options
Diffstat (limited to 'js/src/tests/test262/language/identifiers/start-zwj-escaped.js')
-rw-r--r-- | js/src/tests/test262/language/identifiers/start-zwj-escaped.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/js/src/tests/test262/language/identifiers/start-zwj-escaped.js b/js/src/tests/test262/language/identifiers/start-zwj-escaped.js new file mode 100644 index 0000000000..3f7cf89c5a --- /dev/null +++ b/js/src/tests/test262/language/identifiers/start-zwj-escaped.js @@ -0,0 +1,16 @@ +// |reftest| error:SyntaxError +// Copyright (C) 2020 Adam Kluball. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +author: Adam Kluball +esid: sec-names-and-keywords +description: zero width joiner is not a valid identifier start +negative: + phase: parse + type: SyntaxError +---*/ + +$DONOTEVALUATE(); + +var \u200D; |