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.
20 lines
282 B
Kotlin
Vendored
20 lines
282 B
Kotlin
Vendored
// IGNORE_ERRORS
|
|
// ERROR_POLICY: SEMANTIC
|
|
|
|
// MODULE: lib
|
|
// FILE: t.kt
|
|
|
|
fun bar(a: String, b: String): String
|
|
|
|
fun foo(): String {
|
|
return bar("O", "K")
|
|
}
|
|
|
|
// MODULE: main(lib)
|
|
// FILE: b.kt
|
|
|
|
fun box(): String {
|
|
val r = foo()
|
|
if (r is String) return r
|
|
return "OK"
|
|
} |