Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6f1b95d296c5592d3a3e71cc638994fa2ba4e4f7
/
.
/
compiler
/
testData
/
codegen
/
box
/
binaryOp
/
compareWithBoxedDouble.kt
blob: 8c00f6046208ec5ce5b55f240326a2754f740697 [
file
]
// TARGET_BACKEND: JVM
//FILE: Holder.java
class
Holder
{
public
Double
value
;
public
Holder
(
Double
value
)
{
this
.
value
=
value
;
}
}
//FILE: test.kt
import
Holder
fun box
():
String
{
val j
=
Holder
(
0.99
)
return
if
(
j
.
value
>
0
)
"OK"
else
"fail"
}