JS: add test to prove that #KT-5051 is no more reproducible

This commit is contained in:
Alexey Andreev
2016-10-11 12:09:40 +03:00
parent 6d230aad35
commit f22a507e39
3 changed files with 35 additions and 0 deletions
@@ -0,0 +1,9 @@
package foo
interface I {
<!JS_NAME_CLASH!>fun foo()<!> = 23
}
class Sub : I {
<!JS_NAME_CLASH!>var foo<!> = 42
}