Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
073a50037049a4e0869085bf4acf7c29e56210e3
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
falseSmartCast.kt
blob: d294cdadabd9238112b63b65c951f0d349fdccf8 [
file
] [
log
] [
blame
]
// IGNORE_BACKEND_FIR: JVM_IR
open
class
SuperFoo
{
public
fun bar
()
{
if
(
this
is
Foo
)
{
baz
()
}
}
public
fun baz
()
{}
}
class
Foo
:
SuperFoo
()
// 1 INVOKEVIRTUAL SuperFoo.baz
// 0 CHECKCAST Foo
// 0 INVOKEVIRTUAL Foo.baz