Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6330def4271b547b5c7db5f9759e387de2908e94
/
.
/
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"
}