Files
kotlin-fork/compiler/testData/klibABI/removeFunction/main/m.kt
T
Roman Artemev 23d7f94dca [JS IR] Generate JS Klib ABI tests
- add first test
2021-12-08 20:18:15 +03:00

16 lines
219 B
Kotlin
Vendored

fun test1(): String {
try {
return qux(true)
} catch(ex: Throwable) {
return "O"
}
return "FAIL2"
}
fun test2(): String = qux(false)
fun box(): String {
return test1() + test2()
}