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

$DONOTEVALUATE();

var cla\u0073s = 123;