Files
kotlin-fork/compiler/testData/lineNumber/custom/smapInlineAsInlineArgument.kt
T
2016-04-20 17:07:09 +03:00

21 lines
358 B
Kotlin
Vendored

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