11 lines
271 B
Plaintext
Vendored
11 lines
271 B
Plaintext
Vendored
// "Create extension function 'foo'" "true"
|
|
// WITH_RUNTIME
|
|
|
|
fun test() {
|
|
val a: Int = Unit.foo(2)
|
|
}
|
|
|
|
fun Unit.foo(i: Int): Int {
|
|
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|