blob: 5c21bd73b24e37dae3710e82646080b87b63e70d [file] [log] [blame]
// Copyright (C) 2020 Rick Waldron. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: >
ExportDeclaration : HoistableDeclaration : GeneratorDeclaration
esid: prod-HoistableDeclaration
info: |
ExportDeclaration :
HoistableDeclaration[Yield, Await, Default]:
HoistableDeclaration[Yield, Await, Default]:
GeneratorDeclaration[?Yield, ?Await, ?Default]
flags: [module]
negative:
phase: parse
type: SyntaxError
---*/
$DONOTEVALUATE();
class G {}
export default function * G() {}