13 lines
294 B
Plaintext
Vendored
13 lines
294 B
Plaintext
Vendored
// WITH_RUNTIME
|
|
// DISABLE-ERRORS
|
|
interface T<X> {
|
|
fun foo(x: X): X
|
|
}
|
|
|
|
enum class E : T<Int> {
|
|
A, B, C;
|
|
|
|
override fun foo(x: Int): Int {
|
|
<caret><selection>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
|
|
}
|
|
} |