Files
Alexander Udalov ebb9659e03 Add mode to run kapt with JVM IR, use in tests
Currently JVM IR is not supported in kapt, so almost all tests are
failing, and thus are muted with IGNORE_BACKEND.

 #KT-49682
2022-02-08 20:15:13 +01:00

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() {}
}
}