Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
699829ccb3e80dbb53c10cccdf1e50f06a5c5346
/
.
/
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
()
}