Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
073a50037049a4e0869085bf4acf7c29e56210e3
/
.
/
compiler
/
testData
/
codegen
/
box
/
binaryOp
/
compareWithBoxedDouble.kt
blob: 8c00f6046208ec5ce5b55f240326a2754f740697 [
file
] [
log
] [
blame
]
// 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"
}