summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/module-code/export-default-asyncgenerator-declaration-binding.js
blob: 170a75658e516ce56921dc6a155651495e084e3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// |reftest| module
// Copyright (C) 2020 Rick Waldron. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: >
  ExportDeclaration : HoistableDeclaration : AsyncGeneratorDeclaration
  esid: prod-HoistableDeclaration
info: |
  ExportDeclaration :
    HoistableDeclaration[Yield, Await, Default]:

  HoistableDeclaration[Yield, Await, Default]:
    AsyncGeneratorDeclaration[?Yield, ?Await, ?Default]

flags: [module]
---*/

export default async function * AG() {}
AG.foo = '';

reportCompare(0, 0);