Test for KT-17512 (yet with incorrect results)

This commit is contained in:
Mikhail Glukhikh
2018-06-19 19:13:36 +03:00
parent 600d135786
commit cc2869988f
4 changed files with 15 additions and 0 deletions
@@ -0,0 +1,6 @@
fun test() {
boo("a")
boo("b")
}
expect fun boo(s: String)
@@ -0,0 +1,4 @@
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtNamedFunction
// OPTIONS: usages
actual fun <caret>boo(s: String) {}
@@ -22,6 +22,11 @@ import java.io.File
class FindUsagesMultiModuleTest : AbstractFindUsagesMultiModuleTest() {
@Test
fun testFindCommonFromActual() {
doTest()
}
@Test
fun testFindImplFromHeader() {
doTest()