Files
kotlin-fork/js/js.translator/testData/reservedWords/cases/enumLabelCatch.kt
T
2014-09-26 00:57:09 +04:00

18 lines
295 B
Kotlin

package foo
// NOTE THIS FILE IS AUTO-GENERATED by the generateTestDataForReservedWords.kt. DO NOT EDIT!
enum class Foo {
BAR
val t: Int = 0
fun test() {
testRenamed("catch", { @`catch` while (false) {} })
}
}
fun box(): String {
Foo.BAR.test()
return "OK"
}