Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
codegen
/
box
/
properties
/
kt4252.kt
blob: f14f069901dad035b437f9a6fd2f50f5094b1583 [
file
] [
log
] [
blame
]
class
CallbackBlock
{}
public
class
Foo
{
companion
object
{
private
var
bar
=
0
}
init
{
++
bar
}
fun getBar
():
Int
=
bar
}
fun box
()
:
String
{
val foo
=
Foo
()
if
(
foo
.
getBar
()
!=
1
)
return
"Fail"
;
return
"OK"
}