blob: a4b8c739c92b1b6ff7dddecd07e6ac8872255d52 [file]
// RUN_PIPELINE_TILL: FRONTEND
// ALLOW_KOTLIN_PACKAGE
package kotlin.jvm
annotation class JvmInline
interface IFoo
object FooImpl : IFoo
@JvmInline
value class Test1(val x: Any) : <!VALUE_CLASS_CANNOT_IMPLEMENT_INTERFACE_BY_DELEGATION!>IFoo<!> by FooImpl
@JvmInline
value class Test2(val x: IFoo) : IFoo by x
/* GENERATED_FIR_TAGS: annotationDeclaration, classDeclaration, inheritanceDelegation, interfaceDeclaration,
objectDeclaration, primaryConstructor, propertyDeclaration, value */