Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
codegen
/
box
/
regressions
/
kt4281.kt
blob: a1e84ddff4983a90ef9e2225544bce2640b6d61c [
file
]
abstract
class
C
{
fun test
(
x
:
Int
)
{
if
(
x
==
0
)
return
if
(
this
is
D
)
{
val d
:
D
=
this
d
.
test
(
x
-
1
)
}
}
}
class
D
:
C
()
fun box
():
String
{
D
().
test
(
10
)
return
"OK"
}