[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_EXPRESSION
|
||||
class A {
|
||||
fun Int.extInt() = 42
|
||||
fun A.extA(x: String) = x
|
||||
|
||||
fun main() {
|
||||
Int::extInt
|
||||
A::extA
|
||||
|
||||
eat(Int::extInt)
|
||||
eat(A::extA)
|
||||
}
|
||||
}
|
||||
|
||||
fun eat(value: Any) {}
|
||||
|
||||
fun main() {
|
||||
A::extInt
|
||||
A::extA
|
||||
}
|
||||
Reference in New Issue
Block a user