summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/module-code/export-expname-import-string-binding.js
blob: d91875af2c3fc28f652ff7ecbd5c9e3999b9feee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// |reftest| module
// 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);