Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f7ff397a310cd4d47fc4849043f8c9d47412e512
/
.
/
compiler
/
testData
/
codegen
/
box
/
classes
/
inheritSetAndHashSet.kt
blob: 885e93727d6148228b48e4e02645afe85312bb3c [
file
]
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
// IGNORE_BACKEND: NATIVE
interface
A
:
Set
<
String
>
class
B
:
A
,
HashSet
<
String
>()
fun box
():
String
{
val b
=
B
()
b
.
add
(
"OK"
)
return
b
.
iterator
().
next
()
}