// TARGET_BACKEND: JS_IR // TARGET_BACKEND: WASM // RUN_THIRD_PARTY_OPTIMIZER // WASM_DCE_EXPECTED_OUTPUT_SIZE: wasm 13_321 // WASM_DCE_EXPECTED_OUTPUT_SIZE: mjs 5_277 // WASM_OPT_EXPECTED_OUTPUT_SIZE: 3_900 interface I { fun foo() = "OK" } abstract class A : I class B : A() class C : A() { override fun foo(): String { return "C::foo" } } fun box() = B().foo()