diff options
Diffstat (limited to 'js/src/tests/test262/language/identifiers/vertical-tilde-continue.js')
-rw-r--r-- | js/src/tests/test262/language/identifiers/vertical-tilde-continue.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/js/src/tests/test262/language/identifiers/vertical-tilde-continue.js b/js/src/tests/test262/language/identifiers/vertical-tilde-continue.js new file mode 100644 index 0000000000..3a2ee0aaf0 --- /dev/null +++ b/js/src/tests/test262/language/identifiers/vertical-tilde-continue.js @@ -0,0 +1,17 @@ +// |reftest| error:SyntaxError +// Copyright (C) 2017 André Bargull. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-names-and-keywords +description: Test VERTICAL TILDE (U+2E2F) is not recognized as ID_Continue character. +info: | + VERTICAL TILDE is in General Category 'Lm' and [:Pattern_Syntax:]. +negative: + phase: parse + type: SyntaxError +---*/ + +$DONOTEVALUATE(); + +var aⸯ; // U+2E2F |