982d10d127
This is needed because now these tests use new test infrastructure and here, after frontend facade, there is error check. We need to disable such check in these tests.
23 lines
288 B
Kotlin
Vendored
23 lines
288 B
Kotlin
Vendored
// IGNORE_ERRORS
|
|
// ERROR_POLICY: SYNTAX
|
|
|
|
// 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"
|
|
} |