-- Common --
Exit code: OK
Output:

-- JVM --
Exit code: COMPILATION_ERROR
Output:
compiler/testData/multiplatform/classScopes/functionIncorrectSignature/jvm.kt:2:16: error: 'actual fun function(b: ByteArray): Long' has no corresponding expected declaration
The following declaration is incompatible because return type is different:
    expect fun function(b: ByteArray): Int

    actual fun function(b: ByteArray): Long = b.size.toLong()
               ^^^^^^^^
