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

19 lines
266 B
Kotlin
Vendored

fun String.execute(p: String) = this + p
fun box(){
test() execute
fail()
fail() execute
test()
}
inline fun test() : String {
return "123"
}
fun fail() : String {
throw AssertionError("fail")
}
// 1 4 12 4 7 12 7 9 12 16