test262/test/language/identifiers/vertical-tilde-continue-esc...

17 lines
422 B
JavaScript
Raw Normal View History

// Copyright (C) 2017 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
2017-12-19 21:40:12 +01:00
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:
type: SyntaxError
phase: parse
---*/
failIfCodeGetsEvaluated();
var a\u2E2F;