tests: Update external tests (1.1.2-dev-393)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS, NATIVE
|
||||
|
||||
fun foo(x: Any) = x !is Runnable
|
||||
|
||||
fun box(): String {
|
||||
val r = object : Runnable {
|
||||
override fun run() {}
|
||||
}
|
||||
return if (!foo(r) && foo(42)) "OK" else "Fail"
|
||||
}
|
||||
Reference in New Issue
Block a user