summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/module-code/export-expname-import-string-binding.js
blob: 659ec6c54231453e723b7c0d34a20686951713b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// |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: >
  ImportSpecifier :
    ModuleExportName `as` IdentifierName
  esid: prod-ImportSpecifier
info: |
  ImportSpecifier :
    ModuleExportName `as` IdentifierName

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

assert.sameValue(Ami, globalThis.Mercury);

reportCompare(0, 0);