import test.* fun box(): String { val a = A() if (a.foo() != a) return "failTypeCast 5" return "OK" }