[PL] Fix: Allow IrEnumConstructorCall with constructed class with kind=ENUM_ENTRY

This commit is contained in:
Dmitriy Dolovov
2023-03-22 22:05:20 +01:00
committed by Space Team
parent 66532d714e
commit 0f17191e0e
3 changed files with 27 additions and 1 deletions
@@ -207,4 +207,7 @@ fun box() = abiTest {
expectSuccess { getFunctionalInterfaceToInterface(); "OK" }
expectFailure(linkage("Constructor 'ClassToAbstractClass.<init>' can not be called: Can not instantiate abstract class 'ClassToAbstractClass'")) { instantiationOfAbstractClass() }
expectSuccess { StableEnum.FOO.test }
expectSuccess { StableEnum.BAR.test }
}