Added some new test for java8

This commit is contained in:
Michael Bogdanov
2015-05-12 17:38:08 +03:00
parent 37dfa58cd3
commit 3fbdf05921
10 changed files with 90 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
trait KTrait : Simple {
fun bar(): String {
return test("O") + Simple.testStatic("O")
}
}
class Test : KTrait {}
fun box(): String {
val test = Test().bar()
if (test != "OKOK") return "fail $test"
return "OK"
}