// !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE -NOTHING_TO_INLINE -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -CONFLICTING_JVM_DECLARATIONS fun Function1.minus(p: Function1) { } fun @Extension Function2.minus(p: T.(p: U) -> V) { } inline fun Function1.plus(p: Function1) { this - p } inline fun @Extension Function2.plus(p: T.(p: U) -> V) { this - p } inline fun inlineFunWithInvoke(s: (p: T) -> U, ext: T.(p: U) -> V) { s + s ext + ext } inline fun inlineFunWithInvoke(s: (p: T) -> U, ext: T.(p: U) -> V) { s + s ext + ext } inline fun Function1.submit() { this + this } inline fun @Extension Function2.submit() { this + this }