// NO_CHECK_LAMBDA_INLINING // FILE: 1.kt package test interface A class B : A inline fun foo(a: Any) = (a as? T != null).toString()[0] // FILE: 2.kt import test.* fun box(): String { val s = "" + foo(Any()) + foo(object : A {}) + foo(B()) if (s != "ftt") return "fail: $s" return "OK" }