Add test for KT-5554: coerce arrays in return

#KT-5554 Fixed
This commit is contained in:
Natalia Ukhorskaya
2014-09-11 13:10:07 +04:00
parent e0469de5be
commit 32f6d7feac
3 changed files with 23 additions and 0 deletions
@@ -0,0 +1,9 @@
package kt5554OnlyIntsShouldBeCoerced
fun main(args: Array<String>) {
//Breakpoint!
args.size
}
// EXPRESSION: Class.forName("java.lang.Object").getGenericInterfaces()
// RESULT: instance of java.lang.Class[0] (id=ID): [Ljava/lang/Class;