Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
a6417fc509e4365c1ed6addd914701510995cdb2
/
.
/
compiler
/
testData
/
codegen
/
box
/
classes
/
inheritSetAndHashSet.kt
blob: fe221964d56cb43a8053b47b204645d2474a99e0 [
file
] [
log
] [
blame
]
// 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
()
}