Added a test

This commit is contained in:
Igor Chevdar
2020-06-15 17:05:01 +05:00
parent ecf9727568
commit 3634ad2d54
8 changed files with 40 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
enum class E(val b: Boolean) {
TRUE(1 == 1)
}
fun box() = if (E.TRUE.b) "OK" else "fail"