Files
kotlin-fork/compiler/testData/klibABI/removeEnumEntry/main/m.kt
T
2023-03-23 10:24:27 +00:00

8 lines
388 B
Kotlin
Vendored

import abitestutils.abiTest
fun box() = abiTest {
expectFailure(linkage("Can not get instance of singleton 'E.REMOVED': No enum entry found for symbol '/E.REMOVED'")) { compute(E.UNCHANGED2) }
expectFailure(linkage("Can not get instance of singleton 'E.REMOVED': No enum entry found for symbol '/E.REMOVED'")) { compute(E.REMOVED) }
expectSuccess { compute(E.UNCHANGED1) }
}