[FIR] Implement Native test infrastructure, add FirNativeSessionFactory

This commit is contained in:
Ivan Kochurkin
2022-06-23 18:24:58 +03:00
parent 2f56b29b3f
commit 502349c594
27 changed files with 1661 additions and 40 deletions
@@ -0,0 +1,68 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE -MISSING_DEPENDENCY_SUPERCLASS
// FIXME: rename identifiers.kt
// FILE: 1.kt
package `check.pkg`
// FILE: 2.kt
package totally.normal.pkg
class `Check.Class`
class NormalClass {
fun `check$member`() {}
}
object `Check;Object`
object NormalObject
data class Pair(val first: Int, val `next,one`: Int)
object Delegate {
operator fun getValue(thisRef: Any?, property: kotlin.reflect.KProperty<*>): Any? = null
}
fun `check(function`() {
val `check)variable` = 1
val `check[delegated[variable` by Delegate
val normalVariable = 2
val normalDelegatedVariable by Delegate
val (check, `destructuring]declaration`) = Pair(1, 2)
}
fun normalFunction() {}
val `check{property` = 1
val `check}delegated}property` by Delegate
val normalProperty = 2
val normalDelegatedProperty by Delegate
fun checkValueParameter(`check/parameter`: Int) {}
fun <`check<type<parameter`, normalTypeParameter> checkTypeParameter() {}
enum class `Check>Enum>Entry` {
`CHECK:ENUM:ENTRY`;
}
typealias `check\typealias` = Any
fun `check&`() {}
fun `check~`() {}
fun `check*`() {}
fun `check?`() {}
fun `check#`() {}
fun `check|`() {}
fun `check§`() {}
fun `check%`() {}
fun `check@`() {}