mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
26 lines
309 B
Kotlin
Vendored
26 lines
309 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
package test
|
|
|
|
class TopLevel {
|
|
companion object {
|
|
fun a() {}
|
|
|
|
@JvmStatic
|
|
val q = "A"
|
|
}
|
|
|
|
fun b() {}
|
|
|
|
val x: String
|
|
|
|
val y = 5
|
|
|
|
class NestedClass {
|
|
inner class NestedInnerClass
|
|
}
|
|
|
|
object InnerObject
|
|
|
|
interface InnerInterface
|
|
} |