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