blob: 538fdf9d2c7c1f0b6682bbeaca1304aea00cd4f1 [file]
// RUN_PIPELINE_TILL: CODEGEN
class Delegate(val value: String) {
operator fun getValue(thisRef: Any?, property: Any?) = value
}
class DelegateProvider(val value: String) {
operator fun provideDelegate(thisRef: Any?, property: Any?) = Delegate(value)
}
val testTopLevel by DelegateProvider("OK")
/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, nullableType, operator, primaryConstructor,
propertyDeclaration, propertyDelegate, stringLiteral */