blob: a60d49300654fd2684a039b3c35570643e7c9ce6 [file]
// LANGUAGE: +CompanionBlocks +CompanionExtensions
// 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
}
}