Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f467c970b2a4ee4ada1a66e72db80b847652c1d1
/
.
/
compiler
/
testData
/
ir
/
irText
/
expressions
/
conventionComparisons.kt
blob: b2c6ee464b3a7897412def490ac1e1f3d4b889bf [
file
] [
log
] [
blame
]
interface
IA
interface
IB
{
operator
fun IA
.
compareTo
(
other
:
IA
):
Int
}
fun IB
.
test1
(
a1
:
IA
,
a2
:
IA
)
=
a1
>
a2
fun IB
.
test2
(
a1
:
IA
,
a2
:
IA
)
=
a1
>=
a2
fun IB
.
test3
(
a1
:
IA
,
a2
:
IA
)
=
a1
<
a2
fun IB
.
test4
(
a1
:
IA
,
a2
:
IA
)
=
a1
<=
a2