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

$DONOTEVALUATE();

var func\u0074ion = 123;