blob: 09cfab3a62d5f170f44b60a1e38bb3f2da58cc70 [file]
// RUN_PIPELINE_TILL: FRONTEND
fun Foo() = 42
object Foo {
fun Bar() = 239
object Bar
}
fun En() = 239
enum class <!CONFLICTING_OVERLOADS!>En<!> {
ENTRY,
SUBCLASS { };
fun ENTRY() = 42
fun SUBCLASS() = ENTRY()
}
/* GENERATED_FIR_TAGS: enumDeclaration, enumEntry, functionDeclaration, integerLiteral, nestedClass, objectDeclaration */