Files
kotlin-fork/compiler/testData/ir/irText/firProblems/localCompanion.kt.txt
T
2024-02-16 10:19:38 +00:00

27 lines
382 B
Kotlin
Vendored

fun runMe() {
local class Foo {
@Suppress(names = ["WRONG_MODIFIER_CONTAINING_DECLARATION"])
local companion object Companion {
private constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
fun bar() {
}
}
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
Companion.bar()
}