summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/identifiers/val-enum-via-escape-hex4.js
blob: 937de7d64b67e289879167e842edab8461c3160c (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-32
description: >
    7.6 - SyntaxError expected: reserved words used as Identifier
    Names in UTF8: enum (enum)
negative:
  phase: parse
  type: SyntaxError
---*/

$DONOTEVALUATE();

var \u0065\u006e\u0075\u006d = 123;