Scratch: add multifile tests

This commit is contained in:
Natalia Selezneva
2018-01-19 12:50:19 +03:00
parent 23ef50203e
commit a96cf147fc
23 changed files with 288 additions and 21 deletions
+14
View File
@@ -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