mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
24 lines
387 B
Kotlin
24 lines
387 B
Kotlin
package test.language
|
|
|
|
import junit.framework.TestCase
|
|
import kotlin.test.*
|
|
|
|
import org.jetbrains.kotlin.support.*
|
|
|
|
fun localUseWorks(): Unit {
|
|
val c = javaClass<Runnable>()
|
|
println("class is $c")
|
|
}
|
|
|
|
class JavaClassTest : TestCase() {
|
|
|
|
fun testJavaClass() {
|
|
localUseWorks()
|
|
|
|
// TODO this function fails!
|
|
// see KT-1515
|
|
loadAsserter()
|
|
}
|
|
}
|
|
|