blob: 7304ba9307825a27c378a5ffae00e62b9b8ec3f5 [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 */