Files
kotlin-fork/compiler/testData/diagnostics/tests/dataClasses/emptyConstructor.kt
T

8 lines
179 B
Kotlin
Vendored

// FIR_IDENTICAL
data class A<!DATA_CLASS_WITHOUT_PARAMETERS!>()<!>
fun foo(a: A) {
a.<!UNRESOLVED_REFERENCE!>component1<!>()
a.<!UNRESOLVED_REFERENCE!>component2<!>()
}