backend/tests: add boxing{14,15}
the latter is disabled.
This commit is contained in:
committed by
SvyatoslavScherbina
parent
3aa48b7e0c
commit
97ce2227d5
@@ -0,0 +1,5 @@
|
||||
fun main(args: Array<String>) {
|
||||
42.println()
|
||||
}
|
||||
|
||||
fun <T> T.println() = println(this.toString())
|
||||
@@ -0,0 +1,5 @@
|
||||
fun main(args: Array<String>) {
|
||||
println(foo(17))
|
||||
}
|
||||
|
||||
fun <T : Int> foo(x: T): Int = x
|
||||
Reference in New Issue
Block a user