summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/identifiers/vertical-tilde-continue-escaped.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/language/identifiers/vertical-tilde-continue-escaped.js')
-rw-r--r--js/src/tests/test262/language/identifiers/vertical-tilde-continue-escaped.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/js/src/tests/test262/language/identifiers/vertical-tilde-continue-escaped.js b/js/src/tests/test262/language/identifiers/vertical-tilde-continue-escaped.js
new file mode 100644
index 0000000000..3740b7ce61
--- /dev/null
+++ b/js/src/tests/test262/language/identifiers/vertical-tilde-continue-escaped.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\u2E2F;