Files
kotlin/compiler/testData/codegen/box/innerNested/createNestedClass.kt
Alexander Udalov 7ce62a5b64 Remove generated codegen tests, move all testData to box/
A single test file will be generated out of box/ directory
2013-01-28 18:20:21 +04:00

14 lines
213 B
Kotlin
Vendored

class A {
class B1
class B2(val x: Int)
class B3(val x: Long, val y: Int)
class B4(val str: String)
}
fun box(): String {
A.B1()
val b2 = A.B2(A.B3(42, 42).y)
return A.B4("OK").str
}