Add test for obsolete issue

#KT-10494
This commit is contained in:
Alexander Udalov
2018-01-12 12:50:38 +01:00
parent aee7329b89
commit b925b6ef9f
5 changed files with 38 additions and 0 deletions
@@ -0,0 +1,8 @@
// IGNORE_BACKEND: JS
fun `method with spaces`(): String {
data class C(val s: String = "OK")
return C().s
}
fun box(): String = `method with spaces`()