blob: ec95dbcbaa7439407ec7326dbe242d7d6ea7e6d8 [file]
// RUN_PIPELINE_TILL: BACKEND
// ISSUE: KT-72618
// DIAGNOSTICS: -EXTENSION_SHADOWED_BY_MEMBER
class MatchSticksInc {
operator fun String.inc() = this + "|"
}
class MatchSticksPlus {
operator fun String.plus(s: String) = this + "|"
}
/* GENERATED_FIR_TAGS: additiveExpression, classDeclaration, funWithExtensionReceiver, functionDeclaration, operator,
stringLiteral, thisExpression */