Add test on obsolete issue
#KT-15196 Obsolete
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo() {
|
||||
val array = Array(0, { IntArray(0) } )
|
||||
array.forEach { println(it.asList()) }
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
foo() // just to be sure, that no exception happens
|
||||
return "OK"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
@kotlin.Metadata
|
||||
public final class Kt15196Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method foo(): void
|
||||
}
|
||||
Reference in New Issue
Block a user