[FE] Add test for compiling against library with kotlin sealed classes and interfaces

#KT-20423
#KT-13495
This commit is contained in:
Dmitriy Novozhilov
2020-11-20 13:36:49 +03:00
committed by TeamCityServer
parent 7897bb6adb
commit c0a1aecf9b
8 changed files with 87 additions and 0 deletions
@@ -0,0 +1,3 @@
package test
interface IA : IBase
@@ -0,0 +1,6 @@
package test
sealed class B : Base(), IBase {
class First : B()
class Second : B()
}
@@ -0,0 +1,5 @@
package test
sealed interface IBase
sealed class Base
@@ -0,0 +1,5 @@
package test
enum class C : IBase {
SomeValue, AnotherValue
}
@@ -0,0 +1,3 @@
package test
object D : Base(), IBase