Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
codegen
/
box
/
controlStructures
/
kt17110.kt
blob: 9a513bf04c12a420f97e9bd6d8f5201ff70c22df [
file
] [
log
] [
blame
]
fun test
(
x
:
Int
,
y
:
Int
):
String
{
var
result
:
String
if
(
x
==
6
)
{
if
(
y
==
6
)
{
result
=
"a"
}
else
{
result
=
"b"
}
}
else
{
result
=
"c"
}
return
result
}
fun box
():
String
{
if
(
test
(
9
,
10
)
!=
"c"
)
return
"Failures"
return
"OK"
}