class MyRunnable() {} deprecated("Use A instead") fun MyRunnable.invoke() { } fun test() { val m = MyRunnable() m() } // NO_CHECK_INFOS // NO_CHECK_WEAK_WARNINGS