Files
kotlin-fork/backend.native/tests/codegen/function/sum_imm.kt
T
2017-10-20 18:25:05 +03:00

9 lines
145 B
Kotlin

package codegen.function.sum_imm
import kotlin.test.*
fun sum(a:Int): Int = a + 33
@Test fun runTest() {
if (sum(2) != 35) throw Error()
}