[KLIB tool] Add tests for dumping IR signatures

^KT-62341
This commit is contained in:
Dmitriy Dolovov
2023-10-05 16:28:10 +02:00
committed by Space Team
parent a49723e35c
commit 93506bcb95
23 changed files with 986 additions and 3 deletions
@@ -0,0 +1,21 @@
// FIR_IDENTICAL
package callables
class Foo(val list: List<*>)
private class Bar(val collection: Collection<*>)
fun funWithoutParameters() = 42
fun funWith1Parameter(map: Map<*, *>) = map.entries
fun funWith2Parameters(pair: Pair<*, *>, foo: Foo) = pair.hashCode() + foo.list.size
private fun funWithPrivateParameter(bar: Bar) = bar.collection.iterator()
fun funWithLocalMembers() {
class LocalClass
fun localFun() {
LocalClass().toString()
}
localFun()
}