28 lines
411 B
Kotlin
Vendored
28 lines
411 B
Kotlin
Vendored
// EXPECTED_REACHABLE_NODES: 1290
|
|
// FILE: a.kt
|
|
package foo
|
|
|
|
import bar.*
|
|
import bar.Some.importedFunc
|
|
|
|
fun box(): String {
|
|
Some.justFunc()
|
|
importedFunc()
|
|
assertEquals("justFunc();importedFunc();", log)
|
|
return "OK"
|
|
}
|
|
|
|
// FILE: b.kt
|
|
package bar
|
|
|
|
var log = ""
|
|
|
|
object Some {
|
|
fun justFunc() {
|
|
log += "justFunc();"
|
|
}
|
|
|
|
fun importedFunc() {
|
|
log += "importedFunc();"
|
|
}
|
|
} |