fun f(o: Any): T = o as T // 0 CHECKCAST