Scratch: add multifile tests
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
class MyClass {
|
||||
fun foo() = 1
|
||||
}
|
||||
|
||||
MyClass().foo() // RESULT: 1
|
||||
|
||||
interface I {
|
||||
fun foo(): Int
|
||||
}
|
||||
|
||||
val i = object: I {
|
||||
override fun foo(): Int = 1
|
||||
}
|
||||
i.foo() // RESULT: 1
|
||||
Reference in New Issue
Block a user