1b553ebfaf
Added tests from testData/codegen/box directory. There are blackbox tests in other directories and they are to be added.
19 lines
235 B
Kotlin
19 lines
235 B
Kotlin
open class Base {
|
|
fun doSomething() {
|
|
|
|
}
|
|
}
|
|
|
|
class X(val action: () -> Unit) { }
|
|
|
|
class Foo : Base() {
|
|
inner class Bar() {
|
|
val x = X({ doSomething() })
|
|
}
|
|
}
|
|
|
|
fun box() : String {
|
|
Foo().Bar()
|
|
return "OK"
|
|
}
|