JS backend: added tests for reserved words.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package foo
|
||||
|
||||
// NOTE THIS FILE IS AUTO-GENERATED by the generateTestDataForReservedWords.kt. DO NOT EDIT!
|
||||
|
||||
class TestClass {
|
||||
class object {
|
||||
val t: Int = 0
|
||||
|
||||
fun test() {
|
||||
testRenamed("in", { @`in` while (false) {} })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
TestClass.test()
|
||||
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user