Test for obsolete KT-8047

#KT-8047 Obsolete
This commit is contained in:
Michael Bogdanov
2015-10-28 14:31:19 +03:00
parent f8a70302ac
commit 63f7f90521
4 changed files with 23 additions and 0 deletions
@@ -0,0 +1,6 @@
import test.*
fun box(): String {
f<String>() {}
return "OK"
}
@@ -0,0 +1,5 @@
package test
inline fun f<reified T>(x : () -> Unit) {
object { init { arrayOf<T>() } }
}