summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/identifiers/val-new-via-escape-hex4.js
blob: 78d90998e0349f0f2598aca1dab1bbfbcb656cbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// |reftest| error:SyntaxError
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 7.6-10
description: >
    7.6 - SyntaxError expected: reserved words used as Identifier
    Names in UTF8: new (new)
negative:
  phase: parse
  type: SyntaxError
---*/

$DONOTEVALUATE();

var n\u0065w = 123;