Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
dataClasses
/
multiDeclaration.kt
blob: 3e43dffca2e584a6080919cbee53bf36e46f474a [
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
)
}