blob: c3f758cf9a5fae953b59e171674338bf1029d580 [file] [log] [blame]
fun test(cl: Int.() -> Int):Int = 11.cl()
class Foo {
val a = test { this }
}
fun box(): String {
if (Foo().a != 11) return "fail"
return "OK"
}