blob: 699dfbd5ce54ffd9021d81cefa8232863267f0f2 [file] [log] [blame]
fun foo(u : Unit) : Int = 1
fun test() : Int {
foo(1)
val a : () -> Unit = {
foo(1)
}
return 1 - "1"
}
class A() {
val x : Int = foo1(xx)
}
fun foo1() {}