Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
4f8dad3e4ba00e23b4182ef4c50194b20bd43c8f
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
dataClasses
/
oneValParam.kt
blob: 548233d986bc1956f9c905c73398734ac8edf89f [
file
]
// FIR_IDENTICAL
// !CHECK_TYPE
data
class
A
(
val x
:
Int
)
fun foo
(
a
:
A
)
{
checkSubtype
<
Int
>(
a
.
component1
())
a
.<!
UNRESOLVED_REFERENCE
!>
component2
<!>()
}