Files
kotlin-fork/backend.native/tests/codegen/boxing/boxing0.kt
T
2017-10-20 18:25:05 +03:00

14 lines
181 B
Kotlin

package codegen.boxing.boxing0
import kotlin.test.*
class Box<T>(t: T) {
var value = t
}
@Test fun runTest() {
val box: Box<Int> = Box<Int>(17)
println(box.value)
}