// !LANGUAGE: +InlineClasses // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME class C(val x: T, vararg ys: UInt) { val y0 = ys[0] } fun box(): String { val c = C("a", 42u) if (c.y0 != 42u) throw AssertionError() return "OK" }