Files
kotlin-fork/compiler/testData/diagnostics/tests/redeclarations/SingletonAndFunctionSameName.fir.kt
T
2020-01-10 10:23:50 +03:00

22 lines
186 B
Kotlin
Vendored

fun Foo() = 42
object Foo {
fun Bar() = 239
object Bar
}
fun En() = 239
enum class En {
ENTRY,
SUBCLASS { };
fun ENTRY() = 42
fun SUBCLASS() = ENTRY()
}