mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
11 lines
247 B
Kotlin
11 lines
247 B
Kotlin
package test.foo.bar
|
|
|
|
import kotlin.test.*
|
|
import kotlin.reflect.jvm.kotlinPackage
|
|
|
|
fun box(): String {
|
|
val p = Class.forName("test.foo.bar.BarPackage").kotlinPackage
|
|
if ("$p" != "package test.foo.bar") return "Fail: $p"
|
|
return "OK"
|
|
}
|