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

$DONOTEVALUATE();

var switc\u0068 = 123;