test for stuff that Max has already implemented

This commit is contained in:
Dmitry Jemerov
2011-04-28 13:29:42 +02:00
parent 1562de1347
commit 6574cd98ed
4 changed files with 34 additions and 2 deletions
@@ -0,0 +1,8 @@
class SimpleClass() {
fun foo() = 610
}
fun test() {
val c = new SimpleClass()
return c.foo()
}
@@ -0,0 +1,10 @@
class SimpleClass {
this() {}
fun foo() = 610
}
fun test() {
val c = new SimpleClass()
return c.foo()
}