tests: Update external tests (1.1.2-dev-393)
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
// WITH_RUNTIME
|
||||
// FILE: 1.kt
|
||||
|
||||
package test
|
||||
|
||||
object Host {
|
||||
|
||||
inline val <reified T : Any> T.foo: String
|
||||
get() = T::class.java.simpleName
|
||||
}
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
import test.Host.foo
|
||||
|
||||
class OK
|
||||
|
||||
fun box(): String {
|
||||
return OK().foo
|
||||
}
|
||||
Reference in New Issue
Block a user