[FIR-TEST] Add test for KT-37638

This commit is contained in:
Dmitriy Novozhilov
2020-03-20 15:20:55 +03:00
parent 5f9f01fe4e
commit 006e1f6528
4 changed files with 29 additions and 0 deletions
@@ -0,0 +1,14 @@
// FILE: Some.java
package foo;
class Some {}
class Another {}
// FILE: main.kt
fun test() {
val some = Some()
val another = <!UNRESOLVED_REFERENCE!>Another<!>()
}
@@ -0,0 +1,5 @@
FILE: main.kt
public final fun test(): R|kotlin/Unit| {
lval some: R|Some| = R|/Some.Some|()
lval another: <ERROR TYPE REF: Unresolved name: Another> = <Unresolved name: Another>#()
}