Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f7ff397a310cd4d47fc4849043f8c9d47412e512
/
.
/
compiler
/
testData
/
codegen
/
box
/
classes
/
kt723.kt
blob: 6d020a0bc99f4e04dfe117214cddc3624137f8f7 [
file
]
operator
fun
Int
?.
inc
()
:
Int
{
if
(
this
!=
null
)
return
this
.
inc
()
else
throw
NullPointerException
()
}
public
fun box
()
:
String
{
var
i
:
Int
?
=
10
val j
=
i
++
return
if
(
j
==
10
&&
11
==
i
)
"OK"
else
"fail"
}