KT-64808 [stubs] Add extra tests for synthethic declarations from data and value classes

It's not related to the stubs format changes, but there were no tests
for that in symbols resolve tests
This commit is contained in:
Roman Golyshev
2024-02-22 17:48:02 +01:00
committed by teamcity
parent 47aa6392bf
commit c1ea878e52
27 changed files with 630 additions and 0 deletions
@@ -0,0 +1,13 @@
// IGNORE_FE10
// MODULE: lib
// MODULE_KIND: LibraryBinary
// FILE: Lib.kt
package one
data class DataClass(val name: String)
// MODULE: main(lib)
// FILE: usage.kt
fun usage(instance: one.DataClass) {
instance.<caret>hashCode()
}