Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
codegen
/
box
/
controlStructures
/
compareBoxedIntegerToZero.kt
blob: 6b2091be148bb2a609586362d0c8507319c9f319 [
file
]
fun box
():
String
{
val x
:
Int
?
=
0
if
(
x
!=
0
)
return
"Fail $x"
if
(
0
!=
x
)
return
"Fail $x"
if
(!(
x
==
0
))
return
"Fail $x"
if
(!(
0
==
x
))
return
"Fail $x"
return
"OK"
}