Files
kotlin-fork/compiler/testData/diagnostics/tests/funInterface/funInterfaceConstructorReferences_after.kt
T

11 lines
205 B
Kotlin
Vendored

// FIR_IDENTICAL
// !LANGUAGE: +KotlinFunInterfaceConstructorReference
fun interface Foo {
fun run()
}
val x = ::Foo
val y = Foo { }
val z = ::<!JAVA_SAM_INTERFACE_CONSTRUCTOR_REFERENCE!>Runnable<!>