tests/auto/qml/ecmascripttests/test262/tools/lint/test/fixtures/frontmatter_unrecognized.js
raw| 1 | FRONTMATTER |
| 2 | ^ expected errors | v input |
| 3 | // Copyright (C) 2017 Mike Pennisi. All rights reserved. |
| 4 | // This code is governed by the BSD license found in the LICENSE file. |
| 5 | /*--- |
| 6 | esid: sec-assignment-operators-static-semantics-early-errors |
| 7 | es6id: 12.14.1 |
| 8 | description: Applied to a "covered" YieldExpression |
| 9 | info: This is some information |
| 10 | unrecognized_attr: foo |
| 11 | ---*/ |
| 12 | |
| 13 | function* g() { |
| 14 | yield 23; |
| 15 | } |