Files
kotlin-fork/compiler/testData/codegen/box/fullJdk/regressions/kt1770.kt
T
2020-03-11 16:01:57 +03:00

17 lines
305 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
// FULL_JDK
// WITH_RUNTIME
//This front-end problem test added to box ones only cause of FULL_JDK support
import org.w3c.dom.Element
class MyElement(e: Element): Element by e {
fun bar() = "OK"
}
fun box() : String {
val touch = MyElement::class.java
return "OK"
}