JS: move more test to box tests
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
// MODULE: lib
|
||||
// FILE: lib.kt
|
||||
|
||||
package lib
|
||||
|
||||
object O {
|
||||
val x = "O"
|
||||
|
||||
val y = "K"
|
||||
}
|
||||
|
||||
class C {
|
||||
typealias B = O
|
||||
}
|
||||
|
||||
typealias A = O
|
||||
|
||||
// MODULE: main(lib)
|
||||
// FILE: main.kt
|
||||
|
||||
package foo
|
||||
|
||||
import lib.*
|
||||
|
||||
fun box() = A.x + C.B.y
|
||||
Reference in New Issue
Block a user