Files
kotlin-fork/compiler/testData/compileKotlinAgainstKotlin/nestedEnum.kt
T
Alexander Udalov 9f67fe2fe3 Adapt CompileKotlinAgainstKotlin test to black box format
Rename/remove some obsolete test cases
2016-03-02 15:47:35 +03:00

20 lines
219 B
Kotlin
Vendored

// FILE: A.kt
package aaa
class A {
enum class E {
A
}
}
// FILE: B.kt
fun box(): String {
val str = aaa.A.E.A
if (str.toString() != "A") {
return "Fail $str"
}
return "OK"
}