Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f7ff397a310cd4d47fc4849043f8c9d47412e512
/
.
/
compiler
/
testData
/
codegen
/
box
/
classes
/
extensionOnNamedClassObject.kt
blob: 219240533b296807a1750edc3cabf6c7f17c65e1 [
file
]
// IGNORE_BACKEND_FIR: JVM_IR
class
C
()
{
companion
object
Foo
}
fun C
.
Foo
.
create
()
=
3
fun box
():
String
{
val c1
=
C
.
Foo
.
create
()
val c2
=
C
.
create
()
return
if
(
c1
==
3
&&
c2
==
3
)
"OK"
else
"fail"
}