[JS IR] Generate JS Klib ABI tests
- add first test
This commit is contained in:
committed by
TeamCityServer
parent
c3c2bb5884
commit
23d7f94dca
@@ -0,0 +1,16 @@
|
||||
|
||||
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()
|
||||
}
|
||||
Reference in New Issue
Block a user