blob: e924bf00ace2cf8157f38c4cf2a3e27784f26b54 [file]
// LANGUAGE: +CompanionBlocksAndExtensions
// WITH_STDLIB
package test
enum class E {
Entry;
companion {
context(s: String)
val entries get() = listOf(Entry)
context(s: String)
fun values() = arrayOf(Entry)
context(s: String)
fun valueOf(x: String) = Entry
}
}