1 // |reftest| error:SyntaxError module
2 // Copyright (C) 2020 Bradley Farias. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
6 Ill formed unicode cannot be an exported name
7 esid: sec-module-semantics
9 ModuleExportName : StringLiteral
11 It is a Syntax Error if IsStringWellFormedUnicode of the StringValue of StringLiteral is *false*.
16 features: [arbitrary-module-namespace-names]
21 // 🌙 is '\uD83C\uDF19'
22 export {Moon as "\uD83C",} from "./early-export-ill-formed-string.js";
23 export {"\uD83C"} from "./early-export-ill-formed-string.js";
24 import {'\uD83C' as Usagi} from "./early-export-ill-formed-string.js";