// WITH_RUNTIME @Suppress("OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE") @kotlin.jvm.JvmInline value class Foo(val x: Int) class Bar(val y: Foo) fun box(): String { if (Bar(Foo(42)).y.x != 42) throw AssertionError() return "OK" }