22 lines
431 B
Kotlin
Vendored
22 lines
431 B
Kotlin
Vendored
// EXPECTED_REACHABLE_NODES: 1295
|
|
package foo
|
|
|
|
fun box(): String {
|
|
val a: dynamic = 12
|
|
var b: dynamic = 33.4
|
|
var c: dynamic = "text"
|
|
val d: dynamic = true
|
|
|
|
testFalse { a > b }
|
|
testTrue { b <= 34 }
|
|
testTrue { c >= "text" }
|
|
testFalse { c <= "abc" }
|
|
testTrue { d >= 1 }
|
|
testFalse { d <= 0 }
|
|
testTrue { d && true }
|
|
testTrue { false || d }
|
|
testFalse { d && a < c }
|
|
|
|
return "OK"
|
|
}
|