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
+8
View File
@@ -0,0 +1,8 @@
class GClass<T> { // RESULT: class GClass<T>
fun foo(t: T): T {
return t
}
}
val g = GClass<Int>() // RESULT: val g: Generics.GClass<Int>
g.foo(1) // RESULT: 1