Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ba045e44fbc13a4a8bcfa03689115fd0a25366a9
/
.
/
idea
/
testData
/
checker
/
Constants.kt
blob: 312c194d9f7e21af50d43f7d72a0c3896f517522 [
file
] [
log
] [
blame
]
fun
<
T
>
checkSubtype
(
t
:
T
)
=
t
fun test
()
{
checkSubtype
<
Byte
>(
1
)
checkSubtype
<
Int
>(
1
)
checkSubtype
<
Double
>(<
error
>
1
</
error
>)
1
<warning>
as
</
warning
>
Byte
1
<warning>
as
Int
</
warning
>
1
<warning>
as
</
warning
>
Double
}