23 lines
394 B
Kotlin
Vendored
23 lines
394 B
Kotlin
Vendored
package foo
|
|
|
|
// NOTE THIS FILE IS AUTO-GENERATED by the generateTestDataForReservedWords.kt. DO NOT EDIT!
|
|
|
|
interface Trait {
|
|
val t: Int
|
|
}
|
|
|
|
class TraitImpl : Trait {
|
|
override val t: Int = 0
|
|
}
|
|
|
|
class TestDelegate : Trait by TraitImpl() {
|
|
fun test() {
|
|
testRenamed("throw", { `throw`@ while (false) {} })
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
TestDelegate().test()
|
|
|
|
return "OK"
|
|
} |