Bug 1921551 - React to sync sign in flow correctly r=android-reviewers,matt-tighe
[gecko.git] / js / src / tests / test262 / language / module-code / parse-err-decl-pos-export-generator-expr.js
blob28ac9bd571f493eb735c1fb07a73bc0815e63090
1 // |reftest| error:SyntaxError module
2 // Copyright (C) 2016 the V8 project authors. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4 /*---
5 description: Expression cannot contain an `export` declaration
6 esid: sec-modules
7 negative:
8   phase: parse
9   type: SyntaxError
10 flags: [module]
11 ---*/
13 $DONOTEVALUATE();
15 (function*() { export default null; });