JS backend: added tests for reserved words.

This commit is contained in:
Zalim Bashorov
2014-09-24 00:33:34 +04:00
parent e91e724469
commit 5a5c4145f2
183 changed files with 4381 additions and 3 deletions
@@ -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"
}