JS: create new common directory for all generated tests, migrate several tests there
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// See KT-6326, KT-6777
|
||||
package foo
|
||||
|
||||
enum class Foo {
|
||||
A;
|
||||
|
||||
companion object {
|
||||
val a = A
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
assertEquals("A", Foo.a.name)
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user