78ca733c38
except tests that are not possible to add without some modifications in the test infra. See todos on the commented-out test declarations
24 lines
316 B
Kotlin
Vendored
24 lines
316 B
Kotlin
Vendored
// IGNORE_ERRORS
|
|
// ERROR_POLICY: SYNTAX
|
|
// IGNORE_BACKEND_K2: JS_IR
|
|
|
|
// MODULE: lib
|
|
// FILE: t.kt
|
|
|
|
1sdasf
|
|
|
|
fun bar() {}
|
|
|
|
fun foo() { bar(,,,,,,,) }
|
|
|
|
// MODULE: main(lib)
|
|
// FILE: b.kt
|
|
|
|
fun box(): String {
|
|
try {
|
|
foo()
|
|
} catch (e: IllegalStateException) {
|
|
return "OK"
|
|
}
|
|
return "FAIL"
|
|
} |