// FIR_IDENTICAL // IGNORE_BACKEND_K1: ANY // Reason: K1 can't resolve calls in test_2_1 and test_2_2 functions // SKIP_KLIB_TEST // Reason: AbstractKlibIrTextTestCase doen't support IGNORE_BACKEND_K1 directive // ISSUE: KT-62863 class Bar fun Bar.specificExt() {} fun test_1_1(x: Any) { x as Bar x as Bar x.specificExt() } fun test_1_2(x: Any) { x as Bar x as Bar x.specificExt() } fun Bar.parameterizedExt() {} fun test_2_1(x: Any) { x as Bar x as Bar x.parameterizedExt() x.parameterizedExt() } fun test_2_2(x: Any) { x as Bar x as Bar x.parameterizedExt() x.parameterizedExt() }