// ERROR: A 'return' expression required in a function with a block body ('{...}')
package to

import a.A
import a.B
import a.T

fun g(t: T): Int {
    g(A)
    B.f()
    A
    B
    A.Companion
    B.Companion
}