Files
kotlin-fork/compiler/testData/diagnostics/tests/inline/constructor.kt
T
2013-12-02 18:28:24 +04:00

7 lines
148 B
Kotlin

class Z(s: (Int) -> Int) {
}
public inline fun test(s : (Int) -> Int) {
<!INVISIBLE_MEMBER_FROM_INLINE!>Z<!>(<!USAGE_IS_NOT_INLINABLE!>s<!>)
}