Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6330def4271b547b5c7db5f9759e387de2908e94
/
.
/
compiler
/
testData
/
codegen
/
box
/
controlStructures
/
kt3273.kt
blob: 187dc50ecf8c92ac02231522c1a8d0ba2b219d16 [
file
]
fun printlnMock
(
a
:
Any
)
{}
public
fun testCoalesce
()
{
val value
:
String
=
when
{
true
->
{
if
(
true
)
{
"foo"
}
else
{
"bar"
}
}
else
->
"Hello world"
}
printlnMock
(
value
.
length
)
}
fun box
():
String
{
testCoalesce
()
return
"OK"
}