Add test on obsolete issue

#KT-9203 Obsolete
This commit is contained in:
Mikhail Zarechenskiy
2017-09-05 16:06:39 +03:00
parent 21cdf9dd5b
commit a3060f1073
6 changed files with 81 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
// FULL_JDK
import java.util.stream.Collectors
import java.util.stream.IntStream
fun main(args: Array<String>) {
val xs = IntStream.<!INTERFACE_STATIC_METHOD_CALL_FROM_JAVA6_TARGET!>range<!>(0, 10).mapToObj { it.toString() }
.collect(Collectors.toList())
xs[0]
}