Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
smartCasts
/
genericIntersection.kt
blob: 981647811180dd1cb29cc9b6fa5ae998fe54f8bb [
file
]
// FIR_IDENTICAL
// See also KT-7801
class
A
fun
<
T
>
test
(
v
:
T
):
T
{
val a
:
T
=
if
(
v
!
is
A
)
v
else
v
return
a
}