compiler/testData/diagnostics/wasmDiagnosticsKlibTests/wasmExport/differentAritySameName.kt (8 lines of code) (raw):
// RUN_PIPELINE_TILL: BACKEND
// FIR_IDENTICAL
// FILE: A.kt
@file:Suppress("OPT_IN_USAGE")
package a
import kotlin.wasm.*
<!WASM_EXPORT_CLASH!>@WasmExport("f") fun foo() = 0<!>
// FILE: B.kt
@file:Suppress("OPT_IN_USAGE")
package b
import kotlin.wasm.*
<!WASM_EXPORT_CLASH!>@WasmExport("f") fun bar(x: Int) = x<!>