Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
codegen
/
box
/
vararg
/
notInLastPosition.kt
blob: 81df652f6faec5ea4225bebe24d98dc62deb2190 [
file
]
// TARGET_BACKEND: JVM
// FILE: A.kt
class
A
{
fun f
(
vararg xs
:
String
,
y
:
String
)
=
xs
[
0
]
+
y
}
// FILE: B.java
public
class
B
{
public
static
String
f
()
{
return
new
A
().
f
(
new
String
[]{
"O"
},
"K"
);
}
}
// FILE: C.kt
fun box
()
=
B
.
f
()