summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/statements/labeled/value-yield-non-strict-escaped.js
blob: 4503bf2daf49bccaa0a4cc5487b9c7ac8c9327d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (C) 2017 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-identifiers-static-semantics-early-errors
description: >
  `yield` is not a reserved identifier in non-strict mode code and may be used as a label.
flags: [noStrict]
---*/

yi\u0065ld: 1;

reportCompare(0, 0);