Files
kotlin-fork/translator/testFiles/operatorOverloading/cases/binaryDivOverload.kt
T
2011-11-24 20:01:58 +04:00

9 lines
103 B
Kotlin

namespace foo
class A() {
fun div(other : A) = "hooray"
}
fun box() = ((A() / A()) == "hooray")