[Wasm] Add @WasmImport annotation

Imports top-level function from given module
This commit is contained in:
Svyatoslav Kuzmich
2022-12-19 14:45:56 +01:00
parent 1c5eed1687
commit 3bbd8c291a
11 changed files with 178 additions and 26 deletions
@@ -84,4 +84,9 @@ public class IrCodegenWasmJsInteropWasmTestGenerated extends AbstractIrCodegenWa
public void testTypes() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/types.kt");
}
@TestMetadata("wasmImport.kt")
public void testWasmImport() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/wasmImport.kt");
}
}