ebb9659e03
Currently JVM IR is not supported in kapt, so almost all tests are failing, and thus are muted with IGNORE_BACKEND. #KT-49682
26 lines
383 B
Kotlin
Vendored
26 lines
383 B
Kotlin
Vendored
// WITH_STDLIB
|
|
|
|
fun test1() = (0..10).map { n ->
|
|
object {
|
|
override fun hashCode() = n
|
|
}
|
|
}
|
|
|
|
fun test2() = (0..10).map { n ->
|
|
object : Runnable {
|
|
override fun run() {}
|
|
}
|
|
}
|
|
|
|
abstract class Foo
|
|
|
|
fun test3() = (0..10).map { n ->
|
|
object : Foo() {}
|
|
}
|
|
|
|
fun test4() = (0..10).map { n ->
|
|
object : Foo(), Runnable {
|
|
override fun run() {}
|
|
}
|
|
}
|