[FIR-TEST] Move analysis tests to separate module
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
fun foo() {}
|
||||
|
||||
class C {
|
||||
fun bar() {}
|
||||
fun err() {}
|
||||
|
||||
class Nested {
|
||||
fun test() {
|
||||
<!UNRESOLVED_REFERENCE!>err<!>()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun test() {
|
||||
val c = C()
|
||||
foo()
|
||||
c.bar()
|
||||
|
||||
val err = C()
|
||||
err.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
}
|
||||
Reference in New Issue
Block a user