Files
kotlin-fork/backend.native/tests/codegen/boxing/boxing0.kt
T
Nikolay Igotti 3b7321ef94 Boxing.
2016-12-20 15:33:38 +07:00

11 lines
138 B
Kotlin

class Box<T>(t: T) {
var value = t
}
fun main(args: Array<String>) {
val box: Box<Int> = Box<Int>(17)
println(box.value)
}