af247c3344
Don't use `main` function in these tests, because `main` function has specific mangling rules in JVM. Use other function name. ^KT-57755
12 lines
201 B
Kotlin
Vendored
12 lines
201 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
|
|
fun runMe() {
|
|
class Foo {
|
|
@Suppress("WRONG_MODIFIER_CONTAINING_DECLARATION")
|
|
companion object {
|
|
fun bar() {}
|
|
}
|
|
}
|
|
Foo.Companion.bar()
|
|
}
|