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