// ERROR: Expression 'staticField' of type 'kotlin.Int' cannot be invoked as a function. The function invoke() is not found
package to

import a.JavaF
import a.JavaM

fun f() {
    JavaM.staticMethod()
    JavaF.staticField()
}