Files
kotlin/compiler/testData/codegen/box/unit/UnitValue.kt
Alexander Udalov 41a416da60 Move blackBoxFile() testData to box/ directory
Delete all test methods (and empty test classes), since they'll be
auto-generated
2013-01-28 18:20:17 +04:00

6 lines
87 B
Kotlin

fun foo() {}
fun box(): String {
return if (foo() == Unit.VALUE) "OK" else "Fail"
}