summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/module-code/export-default-function-declaration-binding.js
blob: 612b6ced4bf347c2bc5c89f6877495b2ad074651 (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 : FunctionDeclaration
  esid: prod-HoistableDeclaration
info: |
  ExportDeclaration :
    HoistableDeclaration[Yield, Await, Default]:

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

flags: [module]
---*/

export default function F() {}
F.foo = '';

reportCompare(0, 0);