[K/N][Tests] Move codegen test sources cycles..innerClass
^KT-61259
This commit is contained in:
committed by
Space Team
parent
35d2be25b2
commit
71a834b778
@@ -0,0 +1,14 @@
|
||||
interface I {
|
||||
fun foo(): Int
|
||||
}
|
||||
|
||||
class A : I {
|
||||
override fun foo() = 42
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
lateinit var a: I
|
||||
if (args.size == 0)
|
||||
a = A()
|
||||
println(a.foo())
|
||||
}
|
||||
Reference in New Issue
Block a user