Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
073a50037049a4e0869085bf4acf7c29e56210e3
/
.
/
compiler
/
testData
/
codegen
/
box
/
controlStructures
/
compareBoxedIntegerToZero.kt
blob: 6b2091be148bb2a609586362d0c8507319c9f319 [
file
] [
log
] [
blame
]
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"
}