26 lines
379 B
Kotlin
Vendored
26 lines
379 B
Kotlin
Vendored
// EXPECTED_REACHABLE_NODES: 1698
|
|
// KJS_WITH_FULL_RUNTIME
|
|
// SKIP_DCE_DRIVEN
|
|
// RUN_UNIT_TESTS
|
|
// ES_MODULES
|
|
|
|
// FILE: test.kt
|
|
import common.call
|
|
import kotlin.test.Test
|
|
|
|
class Simple {
|
|
@Test fun foo() {
|
|
call("foo")
|
|
}
|
|
}
|
|
|
|
// FILE: box.kt
|
|
import common.*
|
|
|
|
fun box() = checkLog {
|
|
suite("Simple") {
|
|
test("foo") {
|
|
call("foo")
|
|
}
|
|
}
|
|
} |