backend: enable and add tests for autoboxing
This commit is contained in:
committed by
SvyatoslavScherbina
parent
61c28db886
commit
f2b5b98dba
@@ -0,0 +1,10 @@
|
||||
fun printInt(x: Int) = println(x)
|
||||
|
||||
fun foo(arg: Int?) {
|
||||
if (arg != null)
|
||||
printInt(arg)
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
foo(42)
|
||||
}
|
||||
Reference in New Issue
Block a user