Migrate CompileKotlinAgainstKotlin test to multi-file framework
This commit is contained in:
committed by
Alexander Udalov
parent
5884d4be79
commit
cc8af573f9
@@ -0,0 +1,18 @@
|
||||
// FILE: A.kt
|
||||
|
||||
package aaa
|
||||
|
||||
class A {
|
||||
object O {
|
||||
val s = "OK"
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: B.kt
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val str = aaa.A.O.s
|
||||
if (str != "OK") {
|
||||
throw Exception()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user