summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/module-code/export-expname-from-string-binding.js
blob: 7976081242704291cb5d2dc2bed3f5170fde3552 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// |reftest| skip module -- arbitrary-module-namespace-names is not supported
// Copyright (C) 2020 Bradley Farias. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: >
  ExportFromClause : NamedExports
  esid: prod-ExportFromClause
info: |
  ExportFromClause :
    NamedExports[+From]

  NamedExports[From] :
    [+From] ModuleExportName as IdentifierName

flags: [module]
features: [arbitrary-module-namespace-names]
---*/
import * as Scouts from "./export-expname-from-string-binding.js";
export { "☿" as Ami } from "./export-expname_FIXTURE.js";

assert.sameValue(Scouts["☿"], undefined);
assert.sameValue(Scouts.Ami, globalThis.Mercury);

reportCompare(0, 0);