Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
5e49b472f81ed95098eec9749aa2ad0415fac731
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
nullabilityAndSmartCasts
/
NullableNothingIsExactlyNull.kt
blob: e669cb2e480ee3fc5a36a13ba78eb5b9357f84cd [
file
]
fun test
()
{
val
out
:
Int
?
=
null
val x
:
Nothing
?
=
null
if
(
out
!=
<!
DEBUG_INFO_CONSTANT
!>
x
<!>)
<!
DEBUG_INFO_SMARTCAST
!>
out
<!>.
plus
(
1
)
if
(
out
==
<!
DEBUG_INFO_CONSTANT
!>
x
<!>)
return
<!
DEBUG_INFO_SMARTCAST
!>
out
<!>.
plus
(
1
)
}