Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6330def4271b547b5c7db5f9759e387de2908e94
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
dataFlowInfoTraversal
/
IsExpression.fir.kt
blob: 326501f516538516fc9475d9ba2d88b390db5611 [
file
] [
log
] [
blame
]
// !CHECK_TYPE
fun foo
(
x
:
Number
)
{
if
(<!
USELESS_IS_CHECK
!>(
x
as
Int
)
is
Int
<!>)
{
checkSubtype
<
Int
>(
x
)
}
checkSubtype
<
Int
>(
x
)
}