Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
dataClasses
/
twoValParams.kt
blob: f9ae38fca827da67c13e252f9bb66c8fcc0d36c9 [
file
]
// FIR_IDENTICAL
// CHECK_TYPE
data
class
A
(
val x
:
Int
,
val y
:
String
)
fun foo
(
a
:
A
)
{
checkSubtype
<
Int
>(
a
.
component1
())
checkSubtype
<
String
>(
a
.
component2
())
}