Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f7ff397a310cd4d47fc4849043f8c9d47412e512
/
.
/
compiler
/
testData
/
codegen
/
box
/
objects
/
classCompanion.kt
blob: f8a59859f33892fa5be53f26f865385d66e87ce5 [
file
]
// IGNORE_BACKEND_FIR: JVM_IR
var
result
=
""
class
A
{
companion
object
{
val prop
=
test
()
fun test
():
String
{
result
+=
"OK"
return
result
}
}
}
fun box
():
String
{
if
(
A
.
prop
!=
"OK"
)
return
"fail ${A.prop}"
return
result
}