Files
kotlin-fork/backend.native/tests/codegen/function/sum_3const.kt
T
2016-12-27 13:56:03 +03:00

6 lines
147 B
Kotlin

fun sum3():Int = sum(1, 2, 33)
fun sum(a:Int, b:Int, c:Int): Int = a + b + c
fun main(args: Array<String>) {
if (sum3() != 36) throw Error()
}