/foo.kt:14:1: error: Platform declaration clash: The following functions have the same IR signature (com.example.klib.serialization.diagnostics/foo|foo(){}[0]):
    fun foo(): kotlin.Long defined in com.example.klib.serialization.diagnostics
    fun foo(): kotlin.String defined in com.example.klib.serialization.diagnostics
    fun foo(): kotlin.Int defined in com.example.klib.serialization.diagnostics

/foo.kt:17:1: error: Platform declaration clash: The following properties have the same IR signature (com.example.klib.serialization.diagnostics/myVal|{}myVal[0]):
    val myVal: kotlin.String defined in com.example.klib.serialization.diagnostics
    var myVal: kotlin.Int defined in com.example.klib.serialization.diagnostics
    var myVal: kotlin.Long defined in com.example.klib.serialization.diagnostics

/foo.kt:17:1: error: Platform declaration clash: The following functions have the same IR signature (com.example.klib.serialization.diagnostics/myVal.<get-myVal>|<get-myVal>(){}[0]):
    fun `<get-myVal>`(): kotlin.Int defined in com.example.klib.serialization.diagnostics
    fun `<get-myVal>`(): kotlin.Long defined in com.example.klib.serialization.diagnostics
    fun `<get-myVal>`(): kotlin.String defined in com.example.klib.serialization.diagnostics

/foo.kt:19:1: error: Platform declaration clash: The following properties have the same IR signature (com.example.klib.serialization.diagnostics/myDelegated|{}myDelegated[0]):
    val myDelegated: kotlin.Int defined in com.example.klib.serialization.diagnostics
    val myDelegated: kotlin.Long defined in com.example.klib.serialization.diagnostics

/foo.kt:19:26: error: Platform declaration clash: The following functions have the same IR signature (com.example.klib.serialization.diagnostics/myDelegated.<get-myDelegated>|<get-myDelegated>(){}[0]):
    fun `<get-myDelegated>`(): kotlin.Int defined in com.example.klib.serialization.diagnostics
    fun `<get-myDelegated>`(): kotlin.Long defined in com.example.klib.serialization.diagnostics

/main.kt:24:1: error: Platform declaration clash: The following functions have the same IR signature (com.example.klib.serialization.diagnostics/foo|foo(){}[0]):
    fun foo(): kotlin.Long defined in com.example.klib.serialization.diagnostics
    fun foo(): kotlin.String defined in com.example.klib.serialization.diagnostics
    fun foo(): kotlin.Int defined in com.example.klib.serialization.diagnostics

/main.kt:27:1: error: Platform declaration clash: The following functions have the same IR signature (com.example.klib.serialization.diagnostics/foo|foo(){}[0]):
    fun foo(): kotlin.Long defined in com.example.klib.serialization.diagnostics
    fun foo(): kotlin.String defined in com.example.klib.serialization.diagnostics
    fun foo(): kotlin.Int defined in com.example.klib.serialization.diagnostics

/main.kt:29:1: error: Platform declaration clash: The following properties have the same IR signature (com.example.klib.serialization.diagnostics/myVal|{}myVal[0]):
    val myVal: kotlin.String defined in com.example.klib.serialization.diagnostics
    var myVal: kotlin.Int defined in com.example.klib.serialization.diagnostics
    var myVal: kotlin.Long defined in com.example.klib.serialization.diagnostics

/main.kt:29:1: error: Platform declaration clash: The following functions have the same IR signature (com.example.klib.serialization.diagnostics/myVal.<get-myVal>|<get-myVal>(){}[0]):
    fun `<get-myVal>`(): kotlin.Int defined in com.example.klib.serialization.diagnostics
    fun `<get-myVal>`(): kotlin.Long defined in com.example.klib.serialization.diagnostics
    fun `<get-myVal>`(): kotlin.String defined in com.example.klib.serialization.diagnostics

/main.kt:32:1: error: Platform declaration clash: The following properties have the same IR signature (com.example.klib.serialization.diagnostics/myVal|{}myVal[0]):
    val myVal: kotlin.String defined in com.example.klib.serialization.diagnostics
    var myVal: kotlin.Int defined in com.example.klib.serialization.diagnostics
    var myVal: kotlin.Long defined in com.example.klib.serialization.diagnostics

/main.kt:34:1: error: Platform declaration clash: The following functions have the same IR signature (com.example.klib.serialization.diagnostics/myVal.<get-myVal>|<get-myVal>(){}[0]):
    fun `<get-myVal>`(): kotlin.Int defined in com.example.klib.serialization.diagnostics
    fun `<get-myVal>`(): kotlin.Long defined in com.example.klib.serialization.diagnostics
    fun `<get-myVal>`(): kotlin.String defined in com.example.klib.serialization.diagnostics

/main.kt:36:1: error: Platform declaration clash: The following properties have the same IR signature (com.example.klib.serialization.diagnostics/myDelegated|{}myDelegated[0]):
    val myDelegated: kotlin.Int defined in com.example.klib.serialization.diagnostics
    val myDelegated: kotlin.Long defined in com.example.klib.serialization.diagnostics

/main.kt:37:25: error: Platform declaration clash: The following functions have the same IR signature (com.example.klib.serialization.diagnostics/myDelegated.<get-myDelegated>|<get-myDelegated>(){}[0]):
    fun `<get-myDelegated>`(): kotlin.Int defined in com.example.klib.serialization.diagnostics
    fun `<get-myDelegated>`(): kotlin.Long defined in com.example.klib.serialization.diagnostics

/main.kt:43:5: error: Platform declaration clash: The following functions have the same IR signature (com.example.klib.serialization.diagnostics/A.parameterized|parameterized(0:0){0§<kotlin.Any?>}[0]):
    fun <T> parameterized(a: T): T defined in com.example.klib.serialization.diagnostics.A
    fun <T> parameterized(a: T): kotlin.Unit defined in com.example.klib.serialization.diagnostics.A

/main.kt:46:5: error: Platform declaration clash: The following functions have the same IR signature (com.example.klib.serialization.diagnostics/A.parameterized|parameterized(0:0){0§<kotlin.Any?>}[0]):
    fun <T> parameterized(a: T): T defined in com.example.klib.serialization.diagnostics.A
    fun <T> parameterized(a: T): kotlin.Unit defined in com.example.klib.serialization.diagnostics.A

/main.kt:48:5: error: Platform declaration clash: The following functions have the same IR signature (com.example.klib.serialization.diagnostics/A.privateMethod|privateMethod(){}[0]):
    fun privateMethod(): kotlin.Int defined in com.example.klib.serialization.diagnostics.A
    fun privateMethod(): kotlin.Long defined in com.example.klib.serialization.diagnostics.A

/main.kt:51:5: error: Platform declaration clash: The following functions have the same IR signature (com.example.klib.serialization.diagnostics/A.privateMethod|privateMethod(){}[0]):
    fun privateMethod(): kotlin.Int defined in com.example.klib.serialization.diagnostics.A
    fun privateMethod(): kotlin.Long defined in com.example.klib.serialization.diagnostics.A

/main.kt:54:1: error: Platform declaration clash: The following functions have the same IR signature ([ File '/main.kt' <- com.example.klib.serialization.diagnostics/privateTopLevelFunction|privateTopLevelFunction(){}[0] ]):
    fun privateTopLevelFunction(): kotlin.Int defined in com.example.klib.serialization.diagnostics
    fun privateTopLevelFunction(): kotlin.Long defined in com.example.klib.serialization.diagnostics

/main.kt:57:1: error: Platform declaration clash: The following functions have the same IR signature ([ File '/main.kt' <- com.example.klib.serialization.diagnostics/privateTopLevelFunction|privateTopLevelFunction(){}[0] ]):
    fun privateTopLevelFunction(): kotlin.Int defined in com.example.klib.serialization.diagnostics
    fun privateTopLevelFunction(): kotlin.Long defined in com.example.klib.serialization.diagnostics

/main.kt:67:1: error: Platform declaration clash: The following functions have the same IR signature (com.example.klib.serialization.diagnostics/bar|bar(){}[0]):
    fun bar(): kotlin.Long defined in com.example.klib.serialization.diagnostics
    fun bar(): kotlin.Long defined in com.example.klib.serialization.diagnostics

/main.kt:70:1: error: Platform declaration clash: The following functions have the same IR signature (com.example.klib.serialization.diagnostics/bar|bar(){}[0]):
    fun bar(): kotlin.Long defined in com.example.klib.serialization.diagnostics
    fun bar(): kotlin.Long defined in com.example.klib.serialization.diagnostics
