Files
kotlin-fork/compiler/testData/codegen/box/inlineClasses/genericUnderlyingValue/upperBound.kt
T
Ilmir Usmanov 9060168542 Support generic underlying type of inline class
Use upper bound in JVM representation.
 #KT-32162
2022-02-15 08:11:08 +01:00

6 lines
181 B
Kotlin
Vendored

// CHECK_BYTECODE_LISTING
// LANGUAGE: -JvmInlineValueClasses, +GenericInlineClassParameter
inline class ICString<T: String>(val value: T)
fun box(): String = ICString("OK").value