tests: Update external tests (1.1.2-dev-393)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// IGNORE_BACKEND: JS
|
||||
// JS backend does not support Unit well. See KT-13932
|
||||
|
||||
val foo: () -> Unit = {}
|
||||
|
||||
fun box(): String {
|
||||
foo() as Unit
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user