Files
kotlin-fork/compiler/testData/codegen/regressions/kt2929.kt
T
Peter Brachwitz 81de3cd46a Fix compilation of infix calls (KT-2929)
#KT-2929 Fixed
2012-10-29 22:01:56 +01:00

8 lines
132 B
Kotlin

fun foo(): Int {
val a = "test"
val b = "test"
return a compareTo b
}
fun box(): String = if(foo() == 0) "OK" else "Fail"