compiler/testData/diagnostics/wasmDiagnosticsKlibTests/jsExportAndWasmExport/functionAndFunctionClashViaName.kt (7 lines of code) (raw):
// RUN_PIPELINE_TILL: BACKEND
// FIR_IDENTICAL
// FILE: A.kt
@file:Suppress("OPT_IN_USAGE")
package foo
<!EXPORTING_JS_NAME_WASM_EXPORT_CLASH!>@JsExport fun test() = 1<!>
// FILE: B.kt
@file:Suppress("OPT_IN_USAGE")
package foo
import kotlin.wasm.*
<!EXPORTING_JS_NAME_WASM_EXPORT_CLASH!>@WasmExport("test") fun bar() = 2<!>