Files
kotlin-fork/translator/test_files/test_cases/methodDeclarationAndCall.kt
T
2011-11-09 20:29:51 +04:00

12 lines
159 B
Kotlin

namespace foo
class Test() {
fun method() : Boolean {
return true;
}
}
fun box() : Boolean {
var test = Test()
return test.method()
}