Files
kotlin/compiler/testData/codegen/box/reflection/call/simpleConstructor.kt
2016-11-09 21:41:12 +03:00

12 lines
213 B
Kotlin
Vendored

// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// WITH_REFLECT
class A(val result: String)
fun box(): String {
val a = (::A).call("OK")
return a.result
}