blob: ba63190383cb3ce3f3efc8a1be410b6fddc36b00 [file]
// RUN_PIPELINE_TILL: FRONTEND
// SKIP_JAVAC
// LANGUAGE: +InlineClasses
// 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 */