Files
kotlin-fork/compiler/testData/diagnostics/tests/inline/kt15410.fir.kt
T

10 lines
210 B
Kotlin
Vendored

// !WITH_NEW_INFERENCE
// !DIAGNOSTICS: -UNUSED_PARAMETER
open class Foo protected constructor()
inline fun foo(f: () -> Unit) = object: Foo() {}
class A : Foo() {
inline fun foo(f: () -> Unit) = Foo()
}