Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
2a568be17b8f4a9af8f61b27d156c07d37c12fdc
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
dataClasses
/
multiDeclaration.kt
blob: 35bbcb5f3cc74176c45e5a9d8f10df5679166703 [
file
]
// FIR_IDENTICAL
// !CHECK_TYPE
data
class
A
(
val x
:
Int
,
val y
:
String
)
fun foo
(
a
:
A
)
{
val
(
b
,
c
)
=
a
checkSubtype
<
Int
>(
b
)
checkSubtype
<
String
>(
c
)
}