Files
kotlin-fork/compiler/testData/codegen/box/inlineClasses/genericUnderlyingValue/simple.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
167 B
Kotlin
Vendored

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