blob: 413da41c6ef0d18aa385fe5b38ca57d599c1aae5 [file]
// RUN_PIPELINE_TILL: FRONTEND
fun Foo() = 42
object Foo {
fun Bar() = 239
object Bar
}
<!CONFLICTING_OVERLOADS!>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 */