2fe222e8e7
Otherwise they fail with a compiler exception: "An operation is not implemented: SAM conversion"
57 lines
731 B
Kotlin
Vendored
57 lines
731 B
Kotlin
Vendored
// EXPECTED_REACHABLE_NODES: 1709
|
|
// KJS_WITH_FULL_RUNTIME
|
|
// SKIP_DCE_DRIVEN
|
|
|
|
import common.*
|
|
import kotlin.test.Test
|
|
import kotlin.test.Ignore
|
|
|
|
class A {
|
|
@Test
|
|
fun foo() {
|
|
}
|
|
|
|
@Ignore
|
|
@Test
|
|
fun bar() {
|
|
}
|
|
|
|
@Ignore
|
|
class B {
|
|
@Test
|
|
fun foo() {
|
|
}
|
|
|
|
@Ignore
|
|
@Test
|
|
fun bar() {
|
|
}
|
|
}
|
|
}
|
|
|
|
@Ignore
|
|
class C {
|
|
@Test
|
|
fun foo() {
|
|
}
|
|
|
|
@Ignore
|
|
@Test
|
|
fun bar() {
|
|
}
|
|
}
|
|
|
|
fun box() = checkLog {
|
|
suite("A") {
|
|
test("foo")
|
|
test("bar", true)
|
|
suite("B", true) {
|
|
test("foo")
|
|
test("bar", true)
|
|
}
|
|
}
|
|
suite("C", true) {
|
|
test("foo")
|
|
test("bar", true)
|
|
}
|
|
} |