13 lines
230 B
Kotlin
Vendored
13 lines
230 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_EXPRESSION
|
|
|
|
class Unrelated()
|
|
|
|
class Test(val name: String = "") {
|
|
init {
|
|
<!UNRESOLVED_REFERENCE!>Unrelated::name<!>
|
|
<!UNRESOLVED_REFERENCE!>Unrelated::foo<!>
|
|
}
|
|
|
|
fun foo() {}
|
|
}
|