Rename *.jet -> *.kt in codegen tests
This commit is contained in:
committed by
Alexander Udalov
parent
b0aa094cf8
commit
99827d10a8
@@ -0,0 +1,8 @@
|
||||
package kt799
|
||||
|
||||
fun foo(b: Boolean) : String {
|
||||
val a = if (b) true else return "false"
|
||||
return "$a"
|
||||
}
|
||||
|
||||
fun box() = if (foo(true) == "true" && foo(false) == "false") "OK" else "fail"
|
||||
Reference in New Issue
Block a user