| // FIR_IDENTICAL | |
| // RUN_PIPELINE_TILL: BACKEND | |
| // DIAGNOSTICS: +UNUSED_EXPRESSION | |
| // WITH_EXTRA_CHECKERS | |
| fun foo() { | |
| } | |
| class A { | |
| fun foo() { | |
| } | |
| class B | |
| } | |
| fun A.bar() { | |
| } | |
| fun test() { | |
| <!UNUSED_EXPRESSION!>::foo<!> | |
| <!UNUSED_EXPRESSION!>::A<!> | |
| <!UNUSED_EXPRESSION!>A::B<!> | |
| <!UNUSED_EXPRESSION!>A::foo<!> | |
| <!UNUSED_EXPRESSION!>A::bar<!> | |
| } | |
| /* GENERATED_FIR_TAGS: callableReference, classDeclaration, funWithExtensionReceiver, functionDeclaration, nestedClass */ |