401f0ac583
"// TARGET_BACKEND: JVM" more clearly says that the test is JVM-specific, rather than DONT_TARGET_EXACT_BACKEND which excludes all other backends.
20 lines
289 B
Kotlin
Vendored
20 lines
289 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
// TARGET_BACKEND: JVM
|
|
// WITH_RUNTIME
|
|
// MODULE: lib
|
|
// FILE: J.java
|
|
|
|
public class J {}
|
|
|
|
// MODULE: main(lib)
|
|
// FILE: 1.kt
|
|
|
|
import kotlin.test.assertEquals
|
|
|
|
fun box(): String {
|
|
val j = J::class.java
|
|
assertEquals(j, j.kotlin.java)
|
|
|
|
return "OK"
|
|
}
|