Index: test/mjsunit/wasm/asm-wasm.js |
diff --git a/test/mjsunit/wasm/asm-wasm.js b/test/mjsunit/wasm/asm-wasm.js |
index 3d302c5f7a043acc9eaccfa267e71f0eed08d945..dac8cbe4975bca8a812cfa7ac0139de2c0347bfe 100644 |
--- a/test/mjsunit/wasm/asm-wasm.js |
+++ b/test/mjsunit/wasm/asm-wasm.js |
@@ -1497,6 +1497,21 @@ assertWasm(-34359738370.75, TestNegativeDouble); |
})(); |
+(function TestUnicodeExportKey() { |
+ function Module() { |
+ "use asm"; |
+ function func() { |
+ return 42; |
+ } |
+ return {"\u00d1\u00e6": func}; |
+ } |
+ |
+ var m = Module(stdlib); |
+ assertEquals(42, m.Ñæ()); |
+ assertValidAsm(Module); |
+})(); |
+ |
+ |
function TestAndIntAndHeapValue(stdlib, foreign, buffer) { |
"use asm"; |
var HEAP32 = new stdlib.Int32Array(buffer); |