Files
kotlin-fork/compiler/testData/lineNumber/custom/smapInlineAsArgument.kt
T
2015-04-09 09:25:26 +03:00

21 lines
330 B
Kotlin
Vendored

fun box(){
checkEquals(test(),
fail())
checkEquals(fail(),
test())
}
public fun checkEquals(p1: String, p2: String) {
throw AssertionError("fail")
}
inline fun test() : String {
return "123"
}
fun fail() : String {
throw AssertionError("fail")
}
// 2 14 2 5 14 5 7 10 14 18