Add init test.

This commit is contained in:
Nikolay Igotti
2016-12-07 17:44:46 +03:00
parent b04c52664e
commit 6fb4b47cb1
2 changed files with 19 additions and 0 deletions
@@ -0,0 +1,13 @@
class Test {
companion object {
init {
println("Init Test")
}
}
}
fun main(args : Array<String>) {
val t1 = Test()
val t2 = Test()
println("Done")
}