blob: 78feaaebcef3e3b9ad57c5d0f7a096dbd064575a [file]
// RUN_PIPELINE_TILL: CODEGEN
class My(var x: Int) {
operator fun invoke() = x
fun foo() {}
fun copy() = My(x)
}
fun testInvoke(): Int = My(13)()
/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, integerLiteral, operator, primaryConstructor,
propertyDeclaration */