1b553ebfaf
Added tests from testData/codegen/box directory. There are blackbox tests in other directories and they are to be added.
10 lines
168 B
Kotlin
10 lines
168 B
Kotlin
interface Flusher {
|
|
fun flush() = "OK"
|
|
}
|
|
|
|
fun myFlusher() = object : Flusher { }
|
|
|
|
fun flushIt(flusher: Flusher) = flusher.flush()
|
|
|
|
fun box() = flushIt(myFlusher())
|