Files
kotlin-fork/compiler/testData/diagnostics/tests/sourceCompatibility/apiVersion/simpleMembers.kt
T
2022-04-06 12:51:20 +00:00

21 lines
318 B
Kotlin
Vendored

// FIR_IDENTICAL
// !API_VERSION: 1.0
@SinceKotlin("1.1")
fun f() {}
@SinceKotlin("1.1")
var p = Unit
@SinceKotlin("1.1.2")
fun z() {}
fun t1() = <!UNRESOLVED_REFERENCE!>f<!>()
fun t2() = <!UNRESOLVED_REFERENCE!>p<!>
fun t3() { <!UNRESOLVED_REFERENCE!>p<!> = Unit }
fun t4() { <!UNRESOLVED_REFERENCE!>z<!>() }