Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
a6417fc509e4365c1ed6addd914701510995cdb2
/
.
/
compiler
/
testData
/
codegen
/
box
/
classes
/
extensionOnNamedClassObject.kt
blob: dd3efea880b6b1024266cbc870611910e2f36af3 [
file
] [
log
] [
blame
]
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"
}