Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
2b455fc1ba7dcb99fa03fdfc31c7672d6ccfc9fd
/
.
/
compiler
/
testData
/
codegen
/
box
/
increment
/
prefixIncrementOnSmartCast.kt
blob: d4e5f7d523ccda69a1ce0c6b2735122f1ca8790d [
file
]
fun box
()
:
String
{
var
i
:
Int
?
i
=
10
// Prefix increment on a smart cast should work
val j
=
++
i
return
if
(
j
==
11
&&
11
==
i
)
"OK"
else
"fail j = $j i = $i"
}