Debian Codegraph @

js/src/tests/test262/language/punctuators/S7.7_A2_T7.js

raw
1 // |reftest| error:SyntaxError
2 // Copyright 2009 the Sputnik authors. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 info: |
7 Punctuator cannot be expressed as a Unicode escape sequence consisting of
8 six characters, namely \u plus four hexadecimal digits
9 es5id: 7.7_A2_T7
10 description: Try to use + as a Unicode \u002B
11 negative:
12 phase: parse
13 type: SyntaxError
14 ---*/
15
16 $DONOTEVALUATE();
17
18 1\u002B2;