KT-2752: add basic tests for JsName

This commit is contained in:
Alexey Andreev
2016-05-30 14:26:24 +03:00
parent 5e3aa33b13
commit 5ce158f297
44 changed files with 300 additions and 157 deletions
@@ -0,0 +1,7 @@
package foo
class A(val x: String) {
<!JS_NAME_CLASH!>@JsName("aa") constructor(x: Int) : this("int $x")<!>
}
<!JS_NAME_CLASH!>fun aa() {}<!>