mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 00:21:26 +00:00
29 lines
347 B
Plaintext
Vendored
29 lines
347 B
Plaintext
Vendored
// FILE: rootPackage.kt
|
|
class ~k~Klass {
|
|
}
|
|
|
|
fun ~f~function() = ""
|
|
|
|
val ~p~property = ""
|
|
|
|
// FILE: anotherFromRootPackage.kt
|
|
fun foo() {
|
|
`k`Klass()
|
|
`f`function()
|
|
`p`property
|
|
}
|
|
|
|
// FILE: otherPackage.kt
|
|
package test
|
|
|
|
import `k`Klass
|
|
import `f`function
|
|
import `p`property
|
|
|
|
fun foo() {
|
|
`k`Klass()
|
|
`f`function()
|
|
`p`property
|
|
}
|
|
|