summaryrefslogtreecommitdiff
path: root/tests/test.kt
blob: 7f50ab93d9a0dda362b25ca89cff839600c07820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
fun hello() {
    println("Hello, World!")
}

fun add(a: Int, b: Int): Int {
    return a + b
}

class MyClass {
    fun myMethod() {
        println("Method")
    }
}

fun String.extensionFunc() {
    println(this)
}