This commit is contained in:
Nikolay Igotti
2016-12-14 18:19:16 +03:00
committed by SvyatoslavScherbina
parent 86a6771a09
commit 3b7321ef94
6 changed files with 43 additions and 6 deletions
+6 -1
View File
@@ -461,7 +461,12 @@ task statements0(type: RunKonanTest) {
task boxing0(type: RunKonanTest) {
disabled = true
goldValue = "17\n"
source = "runtime/basic/boxing0.kt"
source = "codegen/boxing/boxing0.kt"
}
task boxing1 (type:RunKonanTest) {
disabled = true
source = "codegen/boxing/boxing1.kt"
}
task interface0(type: RunKonanTest) {
@@ -0,0 +1,9 @@
fun foo(arg: Any) {
println(arg.toString())
}
fun main(args: Array<String>) {
foo(1)
foo(false)
foo("Hello")
}